OSDN Git Service

android-x86/external-ffmpeg.git
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 14 Oct 2013 08:17:47 +0000 (10:17 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  cavs: Check for negative cbp

Conflicts:
libavcodec/cavsdec.c

See: 9f06c1c61e876e930753da200bfe835817e30a53
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1b20d0f581f01f2df601c9e68d0d321672d97af7'
Michael Niedermayer [Mon, 14 Oct 2013 00:10:43 +0000 (02:10 +0200)]
Merge commit '1b20d0f581f01f2df601c9e68d0d321672d97af7'

* commit '1b20d0f581f01f2df601c9e68d0d321672d97af7':
  cavs: Return meaningful error values

Conflicts:
libavcodec/cavsdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '14ddbb477faef359983151b763fd8b20e578651b'
Michael Niedermayer [Mon, 14 Oct 2013 00:04:38 +0000 (02:04 +0200)]
Merge commit '14ddbb477faef359983151b763fd8b20e578651b'

* commit '14ddbb477faef359983151b763fd8b20e578651b':
  cavs: K&R formatting cosmetics

Conflicts:
libavcodec/cavs.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/http: check the auth string contents not the pointer which cannot be NULL
Michael Niedermayer [Sun, 13 Oct 2013 22:56:32 +0000 (00:56 +0200)]
avformat/http: check the auth string contents not the pointer which cannot be NULL

It appears this bug originates from a "work in progress" patch from
ffmpeg-devel that was heavily redesigned by and integrated in libav

And that patch even had a reply and review on the mailing list pointing
out that it had a bug.

This fixes a deadlock with ffserver

See: [FFmpeg-devel] [PATCH] Fix HTTP authentication problem for POST actions.
     [FFmpeg-devel] [PATCH 1/3] Introduce auth_phase flag, which will be true if authorization needs to be sent, but the type of authorization is not known yet Partial fix #3036
     [FFmpeg-devel] [PATCH 2/3] Only add Transfer-Encoding header when not in authorization phase, because server will wait (indefinitely) for data when receiving this header Partial fix #3036
     [FFmpeg-devel] [PATCH 3/3] Only allow posting data and/or forcing a 200 code, enabling posting isml chunks, -after- we did a possible first request to get a 403 from the server telling us which type of authentication to apply Final part fix #3036
See: 71549a857b13edf4c4f95037de6ed5bb4c4bd4af
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '71549a857b13edf4c4f95037de6ed5bb4c4bd4af'
Michael Niedermayer [Sun, 13 Oct 2013 22:37:01 +0000 (00:37 +0200)]
Merge commit '71549a857b13edf4c4f95037de6ed5bb4c4bd4af'

* commit '71549a857b13edf4c4f95037de6ed5bb4c4bd4af':
  http: Support auth method detection for POST

Conflicts:
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'eb8b05a3824a9fa85e20d603595ac8a3b83505d4'
Michael Niedermayer [Sun, 13 Oct 2013 22:17:49 +0000 (00:17 +0200)]
Merge commit 'eb8b05a3824a9fa85e20d603595ac8a3b83505d4'

* commit 'eb8b05a3824a9fa85e20d603595ac8a3b83505d4':
  http: Add an option for forcing basic authentication

Conflicts:
libavformat/http.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'eb90a2091ffb94d8c29aaa5ff50f4192520254fc'
Michael Niedermayer [Sun, 13 Oct 2013 22:04:52 +0000 (00:04 +0200)]
Merge commit 'eb90a2091ffb94d8c29aaa5ff50f4192520254fc'

* commit 'eb90a2091ffb94d8c29aaa5ff50f4192520254fc':
  pthread: Fix deadlock during thread initialization

Conflicts:
libavcodec/pthread.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/westwood_vqa: s/unsigned char/uint8_t & s/unsigned int/uint32_t
Paul B Mahol [Sun, 13 Oct 2013 20:21:03 +0000 (20:21 +0000)]
avformat/westwood_vqa: s/unsigned char/uint8_t & s/unsigned int/uint32_t

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavformat: use ff_alloc_extradata()
Paul B Mahol [Sun, 13 Oct 2013 10:30:59 +0000 (10:30 +0000)]
avformat: use ff_alloc_extradata()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavformat: add ff_alloc_extradata() helper
Paul B Mahol [Sun, 13 Oct 2013 10:19:09 +0000 (10:19 +0000)]
avformat: add ff_alloc_extradata() helper

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavcodec/jpeg2000dec: prevent out of array accesses in pixel addressing
Michael Niedermayer [Sun, 13 Oct 2013 19:18:23 +0000 (21:18 +0200)]
avcodec/jpeg2000dec: prevent out of array accesses in pixel addressing

Fixes Ticket2921

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/jpeg2000: zero i/f_data
Michael Niedermayer [Sun, 13 Oct 2013 18:26:11 +0000 (20:26 +0200)]
avcodec/jpeg2000: zero i/f_data

Fixes uninitialized use of variables

Fixes part of Ticket2921

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sun, 13 Oct 2013 17:37:16 +0000 (19:37 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: add support for changing the channel by the C key
  ffplay: cycle through the streams of the current program, and not every stream
  ffplay: add null packet after attached pics packet
  ffplay: factor out putting null packet into the queue

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/jpeg2000dec: check transform equality in MCT
Michael Niedermayer [Mon, 19 Aug 2013 01:33:40 +0000 (03:33 +0200)]
avcodec/jpeg2000dec: check transform equality in MCT

Fixes null pointer dereference
Fixes Ticket2843

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/oggparseopus: fix nb_headers
Michael Niedermayer [Sun, 13 Oct 2013 16:24:08 +0000 (18:24 +0200)]
avformat/oggparseopus: fix nb_headers

Line comes from ecab1c77410f023b437c6ed3a3281be8f039e574
and was not merged previously

Thanks-to: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocavs: Check for negative cbp
Luca Barbato [Sun, 13 Oct 2013 01:30:06 +0000 (03:30 +0200)]
cavs: Check for negative cbp

Sample-Id: 00000647-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agocavs: Return meaningful error values
Luca Barbato [Sun, 13 Oct 2013 01:27:39 +0000 (03:27 +0200)]
cavs: Return meaningful error values

11 years agocavs: K&R formatting cosmetics
Luca Barbato [Sun, 13 Oct 2013 01:08:51 +0000 (03:08 +0200)]
cavs: K&R formatting cosmetics

11 years agoffplay: add support for changing the channel by the C key
Marton Balint [Sun, 6 Oct 2013 18:23:34 +0000 (20:23 +0200)]
ffplay: add support for changing the channel by the C key

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: cycle through the streams of the current program, and not every stream
Marton Balint [Sun, 26 Aug 2012 19:07:25 +0000 (21:07 +0200)]
ffplay: cycle through the streams of the current program, and not every stream

When changing the audio, video or subtitle stream, from now on, ffplay will
cycle through the streams of the current program.

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: add null packet after attached pics packet
Marton Balint [Sun, 6 Oct 2013 17:12:15 +0000 (19:12 +0200)]
ffplay: add null packet after attached pics packet

Fixes ticket #2904.

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agoffplay: factor out putting null packet into the queue
Marton Balint [Sun, 6 Oct 2013 17:09:49 +0000 (19:09 +0200)]
ffplay: factor out putting null packet into the queue

Signed-off-by: Marton Balint <cus@passwd.hu>
11 years agohttp: Support auth method detection for POST
Martin Storsjö [Wed, 9 Oct 2013 10:24:40 +0000 (13:24 +0300)]
http: Support auth method detection for POST

Inspired by a patch by Jakob van Bethlehem. But instead of doing
an empty POST first to trigger the WWW-Authenticate header (which
would succeed if no auth actually was required), add an Expect:
100-continue header, which is meant to be used exactly for
cases like this.

The header is added if doing a post, and the user has specified
authentication but we don't know the auth method yet.

Not all common HTTP servers support the Expect: 100-continue header,
though, so we only try to use it when it really is needed. The user
can request it to be added for other POST requests as well via
an option - which would allow the caller to know immediately that
the POST has failed (e.g. if no auth was provided but the server
required it, or if the target URL simply doesn't exist).

This is only done for write mode posts (e.g. posts without pre-set
post_data) - for posts with pre-set data, we can just redo the post
if it failed due to 401.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohttp: Add an option for forcing basic authentication
Martin Storsjö [Wed, 9 Oct 2013 09:14:02 +0000 (12:14 +0300)]
http: Add an option for forcing basic authentication

The default is to autodetect the auth method. This does require one
extra request (and also closing and reopening the http connection).
For some cases such as HTTP POST, the autodetection is not handled
properly (yet).

No option is added for digest, since this method requires getting
nonce parameters from the server first and can't be used straight
away like Basic.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavformat/vocdec: return AVERROR_EOF when EOF is reached
Paul B Mahol [Sat, 12 Oct 2013 20:30:12 +0000 (20:30 +0000)]
avformat/vocdec: return AVERROR_EOF when EOF is reached

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agopthread: Fix deadlock during thread initialization
Derek Buitenhuis [Thu, 10 Oct 2013 15:05:40 +0000 (11:05 -0400)]
pthread: Fix deadlock during thread initialization

Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.

Don't call pthread_cond_wait() if c->done is set.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agodoc/developer: Merge license related policy items
Michael Niedermayer [Fri, 11 Oct 2013 21:00:16 +0000 (23:00 +0200)]
doc/developer: Merge license related policy items

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 13 Oct 2013 08:36:59 +0000 (10:36 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  indeo4: Check the inherited quant_mat

Conflicts:
libavcodec/indeo4.c

See: 884efd4e09696b201457feebdef684aee30be99d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0cb83c563848bf8f8365e7bd30e7e6b57ef360f0'
Michael Niedermayer [Sun, 13 Oct 2013 08:19:15 +0000 (10:19 +0200)]
Merge commit '0cb83c563848bf8f8365e7bd30e7e6b57ef360f0'

* commit '0cb83c563848bf8f8365e7bd30e7e6b57ef360f0':
  indeo4: Check the block size if reusing the band configuration

Conflicts:
libavcodec/indeo4.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'fd2384f02b905a106fba9222ece4ddbe2ec61937'
Michael Niedermayer [Sun, 13 Oct 2013 07:56:56 +0000 (09:56 +0200)]
Merge commit 'fd2384f02b905a106fba9222ece4ddbe2ec61937'

* commit 'fd2384f02b905a106fba9222ece4ddbe2ec61937':
  oggparsevorbis: fail on memory allocation error

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c18375ec8040a9fe0f186b2033dc975883143758'
Michael Niedermayer [Sun, 13 Oct 2013 07:49:50 +0000 (09:49 +0200)]
Merge commit 'c18375ec8040a9fe0f186b2033dc975883143758'

* commit 'c18375ec8040a9fe0f186b2033dc975883143758':
  oggvorbisdec: add support for embedded cover art

Conflicts:
libavformat/oggparsevorbis.c

See: 193782216fc8179ec92d498449be0a51e4c7c658
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '601d6228c4811d8971a2412a759e1a4ab775ebe8'
Michael Niedermayer [Sun, 13 Oct 2013 07:34:51 +0000 (09:34 +0200)]
Merge commit '601d6228c4811d8971a2412a759e1a4ab775ebe8'

* commit '601d6228c4811d8971a2412a759e1a4ab775ebe8':
  flac: move picture parsing code in a separate file

Conflicts:
libavformat/Makefile
libavformat/flacdec.c

See: 1e5bbbfcf303ec3db0c7db30b85855e2e5358aec
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ecab1c77410f023b437c6ed3a3281be8f039e574'
Michael Niedermayer [Sun, 13 Oct 2013 07:07:59 +0000 (09:07 +0200)]
Merge commit 'ecab1c77410f023b437c6ed3a3281be8f039e574'

* commit 'ecab1c77410f023b437c6ed3a3281be8f039e574':
  oggdec: add support for Opus in Ogg demuxing

Conflicts:
Changelog
libavformat/oggparseopus.c
libavformat/version.h

See: e62fd6619f7aa91956a1b4ccfa7b0b8d7bc4ba90
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ed9245dba83f9add60f55718b537b0af2105c60e'
Michael Niedermayer [Sun, 13 Oct 2013 06:43:50 +0000 (08:43 +0200)]
Merge commit 'ed9245dba83f9add60f55718b537b0af2105c60e'

* commit 'ed9245dba83f9add60f55718b537b0af2105c60e':
  oggparsevorbis: check allocations

Conflicts:
libavformat/oggparsevorbis.c

See: 033f1644b59abd755bb529afa5db394d18d9c30b
See: 84aea80f7824c23b4cbf101f03e2b5b418a79d80
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '9c15ef35d404fca2adc31276c1eedb11cf485461'
Michael Niedermayer [Sun, 13 Oct 2013 06:27:03 +0000 (08:27 +0200)]
Merge commit '9c15ef35d404fca2adc31276c1eedb11cf485461'

* commit '9c15ef35d404fca2adc31276c1eedb11cf485461':
  oggparsevorbis: support official chapter extension

Conflicts:
libavformat/oggparsevorbis.c

See: 04b9836274f390e39879c2666f7967990f0382cc
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '16ea20c827ef2ffaf77d5e05d5cf9983689f7b2b'
Michael Niedermayer [Sun, 13 Oct 2013 06:16:43 +0000 (08:16 +0200)]
Merge commit '16ea20c827ef2ffaf77d5e05d5cf9983689f7b2b'

* commit '16ea20c827ef2ffaf77d5e05d5cf9983689f7b2b':
  lavc doxy: extend/clarify avcodec_decode_audio4() doxy

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '66d3f5fd5ca4cb3d09b52ad1041cd4359325a21a'
Michael Niedermayer [Sun, 13 Oct 2013 06:07:58 +0000 (08:07 +0200)]
Merge commit '66d3f5fd5ca4cb3d09b52ad1041cd4359325a21a'

* commit '66d3f5fd5ca4cb3d09b52ad1041cd4359325a21a':
  lavc doxy: remove false statements about alignment requirements.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '364af376f343d4706c4cdb7ab9fe0863994e6c01'
Michael Niedermayer [Sun, 13 Oct 2013 05:50:33 +0000 (07:50 +0200)]
Merge commit '364af376f343d4706c4cdb7ab9fe0863994e6c01'

* commit '364af376f343d4706c4cdb7ab9fe0863994e6c01':
  FATE: add lavr resampling tests

The tests do not pass, and thus where disabled

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '9ab5f7107d2f1411e9fda6c36af64524e5ed31d1'
Michael Niedermayer [Sun, 13 Oct 2013 05:00:48 +0000 (07:00 +0200)]
Merge commit '9ab5f7107d2f1411e9fda6c36af64524e5ed31d1'

* commit '9ab5f7107d2f1411e9fda6c36af64524e5ed31d1':
  FATE: add lavr mixing tests

The tests do not pass, and thus where disabled

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'df6737a55f5dc7c0ae5272bc5fa6182836d5481c'
Michael Niedermayer [Sun, 13 Oct 2013 04:42:44 +0000 (06:42 +0200)]
Merge commit 'df6737a55f5dc7c0ae5272bc5fa6182836d5481c'

* commit 'df6737a55f5dc7c0ae5272bc5fa6182836d5481c':
  audio_mix: fix channel order in mix_1_to_2_fltp_flt_c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoindeo4: Check the inherited quant_mat
Luca Barbato [Fri, 11 Oct 2013 09:34:03 +0000 (11:34 +0200)]
indeo4: Check the inherited quant_mat

Invalidate it if not supported.

Sample-Id: 00000262-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agoindeo4: Check the block size if reusing the band configuration
Luca Barbato [Fri, 11 Oct 2013 08:51:53 +0000 (10:51 +0200)]
indeo4: Check the block size if reusing the band configuration

Sample-Id: 00000287-google

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agolavc: rename h265 to hevc, add AV_CODEC_ID_H265 with identical value for backward...
Michael Niedermayer [Sat, 12 Oct 2013 11:29:31 +0000 (13:29 +0200)]
lavc: rename h265 to hevc, add AV_CODEC_ID_H265 with identical value for backward compatibility

Somehow 2 different identifiers have come into existence which makes supporting
both until the next major version bump required
I did not investigate how exactly that did happen.

wm4, j-b and smarter prefer hevc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/avr: use ff_get_pcm_codec_id()
Paul B Mahol [Sat, 12 Oct 2013 20:21:38 +0000 (20:21 +0000)]
avformat/avr: use ff_get_pcm_codec_id()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavfilter/vsrc_testsrc: smpte(hd)bars: use yuv directly
Paul B Mahol [Sat, 12 Oct 2013 17:52:12 +0000 (17:52 +0000)]
avfilter/vsrc_testsrc: smpte(hd)bars: use yuv directly

Also set color space.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavfilter/vf_separatefields: do not reset pts to 0
Paul B Mahol [Sat, 12 Oct 2013 14:55:42 +0000 (14:55 +0000)]
avfilter/vf_separatefields: do not reset pts to 0

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agooggparsevorbis: fail on memory allocation error
Vittorio Giovara [Sat, 12 Oct 2013 13:37:56 +0000 (15:37 +0200)]
oggparsevorbis: fail on memory allocation error

11 years agooggvorbisdec: add support for embedded cover art
James Almer [Tue, 9 Jul 2013 05:39:10 +0000 (02:39 -0300)]
oggvorbisdec: add support for embedded cover art

Signed-off-by: James Almer <jamrial@gmail.com>
11 years agoflac: move picture parsing code in a separate file
James Almer [Tue, 9 Jul 2013 05:39:09 +0000 (02:39 -0300)]
flac: move picture parsing code in a separate file

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agooggdec: add support for Opus in Ogg demuxing
Nicolas George [Sun, 24 Jun 2012 09:38:18 +0000 (11:38 +0200)]
oggdec: add support for Opus in Ogg demuxing

11 years agooggparsevorbis: check allocations
Vittorio Giovara [Sat, 5 Oct 2013 19:35:31 +0000 (21:35 +0200)]
oggparsevorbis: check allocations

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agooggparsevorbis: support official chapter extension
James Almer [Sat, 5 Oct 2013 19:33:41 +0000 (21:33 +0200)]
oggparsevorbis: support official chapter extension

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agolavc doxy: extend/clarify avcodec_decode_audio4() doxy
Anton Khirnov [Tue, 8 Oct 2013 06:53:50 +0000 (08:53 +0200)]
lavc doxy: extend/clarify avcodec_decode_audio4() doxy

Elaborate on flushing the decoder.

11 years agolavc doxy: remove false statements about alignment requirements.
Anton Khirnov [Tue, 8 Oct 2013 06:28:03 +0000 (08:28 +0200)]
lavc doxy: remove false statements about alignment requirements.

The packet data does not need to be aligned.

11 years agoFATE: add lavr resampling tests
Anton Khirnov [Mon, 30 Sep 2013 10:15:02 +0000 (12:15 +0200)]
FATE: add lavr resampling tests

11 years agoFATE: add lavr mixing tests
Anton Khirnov [Mon, 30 Sep 2013 10:15:02 +0000 (12:15 +0200)]
FATE: add lavr mixing tests

11 years agoaudio_mix: fix channel order in mix_1_to_2_fltp_flt_c
Anton Khirnov [Wed, 2 Oct 2013 14:40:02 +0000 (16:40 +0200)]
audio_mix: fix channel order in mix_1_to_2_fltp_flt_c

CC:libav-stable@libav.org

11 years agoMerge remote-tracking branch 'lukaszmluki/master'
Michael Niedermayer [Sat, 12 Oct 2013 12:14:48 +0000 (14:14 +0200)]
Merge remote-tracking branch 'lukaszmluki/master'

* lukaszmluki/master:
  avformat/ftp: add log regarding passive mode failure
  avformat/ftp: fix possible deadlock
  avdevice/pulse_audio_enc: fix stream index

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 12 Oct 2013 12:03:50 +0000 (14:03 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  riff: Add a mapping for VP6A

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/ftp: add log regarding passive mode failure
Lukasz Marek [Sat, 12 Oct 2013 11:50:22 +0000 (13:50 +0200)]
avformat/ftp: add log regarding passive mode failure

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years agoavformat/ftp: fix possible deadlock
Lukasz Marek [Sat, 12 Oct 2013 10:53:54 +0000 (12:53 +0200)]
avformat/ftp: fix possible deadlock

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years agoavdevice/pulse_audio_enc: fix stream index
Lukasz Marek [Sat, 12 Oct 2013 10:51:41 +0000 (12:51 +0200)]
avdevice/pulse_audio_enc: fix stream index

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years agoriff: Add a mapping for VP6A
Martin Storsjö [Wed, 14 Aug 2013 09:38:56 +0000 (12:38 +0300)]
riff: Add a mapping for VP6A

This allows demuxing VP6A from F4V files.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavfilter/lavfutils: fix memleak of avpacket
Michael Niedermayer [Sat, 12 Oct 2013 09:42:08 +0000 (11:42 +0200)]
avfilter/lavfutils: fix memleak of avpacket

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_removelogo: fix pixel pointer so it points where its intended
Michael Niedermayer [Sat, 12 Oct 2013 09:36:23 +0000 (11:36 +0200)]
avfilter/vf_removelogo: fix pixel pointer so it points where its intended

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_removelogo: fix offset for accessing pixels above and below
Michael Niedermayer [Sat, 12 Oct 2013 09:35:54 +0000 (11:35 +0200)]
avfilter/vf_removelogo: fix offset for accessing pixels above and below

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_removelogo: use av_freep() for saftey
Michael Niedermayer [Sat, 12 Oct 2013 09:30:51 +0000 (11:30 +0200)]
avfilter/vf_removelogo: use av_freep() for saftey

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/movenc: set XDCAM codec tag correctly
Michael Niedermayer [Mon, 7 Oct 2013 15:36:23 +0000 (17:36 +0200)]
avformat/movenc: set XDCAM codec tag correctly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/movenc: set pretty compressor name for XDCAM
Michael Niedermayer [Mon, 7 Oct 2013 16:15:25 +0000 (18:15 +0200)]
avformat/movenc: set pretty compressor name for XDCAM

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/movenc: make AVStream easier to access
Michael Niedermayer [Mon, 7 Oct 2013 15:35:40 +0000 (17:35 +0200)]
avformat/movenc: make AVStream easier to access

This adds a AVStream pointer to Track

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/codecs: Add missing mpeg2 aac profiles
Timothy Gu [Mon, 16 Sep 2013 00:38:16 +0000 (17:38 -0700)]
doc/codecs: Add missing mpeg2 aac profiles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/codecs: Add ignorecrop
Timothy Gu [Mon, 16 Sep 2013 00:38:16 +0000 (17:38 -0700)]
doc/codecs: Add ignorecrop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/codecs: Remove no longer existing options
Timothy Gu [Mon, 16 Sep 2013 00:38:16 +0000 (17:38 -0700)]
doc/codecs: Remove no longer existing options

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/codecs: Cosmetics in the flags2 description
Timothy Gu [Tue, 24 Sep 2013 02:04:12 +0000 (19:04 -0700)]
doc/codecs: Cosmetics in the flags2 description

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/codecs: document skip_alpha
Michael Niedermayer [Fri, 11 Oct 2013 14:59:32 +0000 (16:59 +0200)]
doc/codecs: document skip_alpha

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 11 Oct 2013 14:48:10 +0000 (16:48 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  prores: Reject negative run and level values

See: 93c220e895a417e88a6be7df85e250c5c3f675b6
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/filters/scale: do not explicitly state the default swscale flags value
Stefano Sabatini [Fri, 11 Oct 2013 12:50:41 +0000 (14:50 +0200)]
doc/filters/scale: do not explicitly state the default swscale flags value

This is done is order to avoid the need of synching scale with libswscale
docs in case the libswscale default changes.

11 years agolavf/riff.c: Fix GeoVision H.264 fourcc.
Carl Eugen Hoyos [Fri, 11 Oct 2013 14:23:09 +0000 (16:23 +0200)]
lavf/riff.c: Fix GeoVision H.264 fourcc.

Fixes d24da748

11 years agoAdd H.264 fourcc GAVC for GeoVision cameras.
Carl Eugen Hoyos [Fri, 11 Oct 2013 08:02:00 +0000 (10:02 +0200)]
Add H.264 fourcc GAVC for GeoVision cameras.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 11 Oct 2013 07:20:58 +0000 (09:20 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mxf: Add jpeg2000 codec to intra only codecs

See: c461265a769e9ddadc2e3ee5b759937646fcc839
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '5f5ada3dbf97e306a74250ba8dcf8619ad59b020'
Michael Niedermayer [Fri, 11 Oct 2013 06:28:41 +0000 (08:28 +0200)]
Merge commit '5f5ada3dbf97e306a74250ba8dcf8619ad59b020'

* commit '5f5ada3dbf97e306a74250ba8dcf8619ad59b020':
  shorten: Fix out-of-array read

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ed796fba761f4794bec7735d467c1b2c8e1858fe'
Michael Niedermayer [Fri, 11 Oct 2013 06:22:03 +0000 (08:22 +0200)]
Merge commit 'ed796fba761f4794bec7735d467c1b2c8e1858fe'

* commit 'ed796fba761f4794bec7735d467c1b2c8e1858fe':
  atrac3: Better name for IMDCT window initialization
  atrac3: Remove unused gain compensation tables

See: 2d52834910a4a043d150fc3fce9a06372d5aa108
See: 4fb8de08e1107db9a42fd4e6e4a72a8ebc5439fa
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: set the source_index for trivial filter graphs
Michael Niedermayer [Thu, 10 Oct 2013 22:33:25 +0000 (00:33 +0200)]
ffmpeg: set the source_index for trivial filter graphs

Fixes one testcase in Ticket2969

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoprores: Reject negative run and level values
Luca Barbato [Thu, 10 Oct 2013 19:02:10 +0000 (21:02 +0200)]
prores: Reject negative run and level values

Sample-Id: 00000611-google

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agoavcodec/exr: remove pointless initialization
Paul B Mahol [Thu, 10 Oct 2013 09:54:48 +0000 (09:54 +0000)]
avcodec/exr: remove pointless initialization

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoatrac3: Better name for imdct window initialization
Maxim Poliakovski [Thu, 10 Oct 2013 08:51:48 +0000 (10:51 +0200)]
atrac3: Better name for imdct window initialization

Patch by Diego Biurrun.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoatrac3: Remove unused gain compensation tables
Maxim Poliakovski [Thu, 10 Oct 2013 08:49:53 +0000 (10:49 +0200)]
atrac3: Remove unused gain compensation tables

Patch by Diego Biurrun.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomxf: Add jpeg2000 codec to intra only codecs
Matthieu Bouron [Tue, 1 Oct 2013 11:05:26 +0000 (13:05 +0200)]
mxf: Add jpeg2000 codec to intra only codecs

Conform with SMPTE RP 224 and SMPTE s422.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoshorten: Fix out-of-array read
Tim Walker [Wed, 9 Oct 2013 09:47:04 +0000 (11:47 +0200)]
shorten: Fix out-of-array read

pred_order == FF_ARRAY_ELEMS(fixed_coeffs) is invalid too.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoswscale: Use full resolution chroma for yuv2rgb when the input has full chroma
Michael Niedermayer [Wed, 9 Oct 2013 16:43:42 +0000 (18:43 +0200)]
swscale: Use full resolution chroma for yuv2rgb when the input has full chroma

See Ticket3028

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_w3fdif: do not reset pts to 0
Paul B Mahol [Thu, 10 Oct 2013 11:43:03 +0000 (11:43 +0000)]
avfilter/vf_w3fdif: do not reset pts to 0

Shamelessly stolen from yadif.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodoc/codecs: Document field_order
Michael Niedermayer [Thu, 10 Oct 2013 13:59:24 +0000 (15:59 +0200)]
doc/codecs: Document field_order

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoatrac3: Better name for IMDCT window initialization
Maxim Poliakovski [Thu, 10 Oct 2013 08:07:24 +0000 (10:07 +0200)]
atrac3: Better name for IMDCT window initialization

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoatrac3: Remove unused gain compensation tables
Maxim Poliakovski [Thu, 10 Oct 2013 07:59:03 +0000 (09:59 +0200)]
atrac3: Remove unused gain compensation tables

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agodoc/encoder/aac: Remove -cutoff trick
Timothy Gu [Thu, 10 Oct 2013 02:52:16 +0000 (19:52 -0700)]
doc/encoder/aac: Remove -cutoff trick

Fix Ticket #2686 comment 155.

Trick obsoleted since 72dabdfc58064fcb249f26fc7afca2221f18a832.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibavcodec/x86: Fix emulated_edge_mc SSE code to not contain SSE2 instructions on...
Ronald S. Bultje [Thu, 10 Oct 2013 01:24:20 +0000 (21:24 -0400)]
libavcodec/x86: Fix emulated_edge_mc SSE code to not contain SSE2 instructions on x86-32.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/proresdec2: propagate error codes
Michael Niedermayer [Thu, 10 Oct 2013 10:39:23 +0000 (12:39 +0200)]
avcodec/proresdec2: propagate error codes

Based-on: 44690dfa683f620c77e9f0e8e9bc5682608636b1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/vmnc/reset_buffers(): reset cur_hx/hy too for saftey
Michael Niedermayer [Thu, 10 Oct 2013 10:30:52 +0000 (12:30 +0200)]
avcodec/vmnc/reset_buffers(): reset cur_hx/hy too for saftey

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 10 Oct 2013 10:21:47 +0000 (12:21 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  prores: Error out only on surely incomplete ac_coeffs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '44690dfa683f620c77e9f0e8e9bc5682608636b1'
Michael Niedermayer [Thu, 10 Oct 2013 10:14:04 +0000 (12:14 +0200)]
Merge commit '44690dfa683f620c77e9f0e8e9bc5682608636b1'

* commit '44690dfa683f620c77e9f0e8e9bc5682608636b1':
  prores: Add a codepath for decoding errors

Merged-by: Michael Niedermayer <michaelni@gmx.at>