aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* | h263dec: always enable picture dimensions reverting check.Michael Niedermayer2012-04-191-1/+1
| | | | | | | | | | | | | | This does not need to be limited to threads and may help with error resilience on single thread Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'hexene/stagefright'Michael Niedermayer2012-04-191-71/+107
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hexene/stagefright: libstagefright: avoid memory leak libstagefright: support more output pixel formats libstagefright: avoid potential deadlock on output MediaBuffer libstagefright: explicitly set positive timestamps as stagefright expects them so Merge branches 'stagefright' and 'stagefright-test' into stagefright-test Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | libstagefright: avoid memory leakMohamed Naufal2012-04-191-0/+2
| | |
| * | libstagefright: support more output pixel formatsMohamed Naufal2012-04-191-6/+9
| | |
| * | libstagefright: avoid potential deadlock on output MediaBufferMohamed Naufal2012-04-191-73/+86
| | | | | | | | | | | | | | | | | | Maintain an output queue of AVFrames instead of MediaBuffers so that the latter can be released early. This avoids a potential deadlock between the stagefright decoder::read() and Stagefright_decode_frame()
| * | libstagefright: explicitly set positive timestamps as stagefright expects ↵Mohamed Naufal2012-04-191-5/+23
| | | | | | | | | | | | them so
* | | Make tiff-in-mov QuickTime-compatible for more colour-spaces.Carl Eugen Hoyos2012-04-181-0/+5
| | | | | | | | | | | | Fixes ticket #1228.
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-186-474/+11
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ppc: drop unused function dct_quantize_altivec() mpegaudiodec: Do not discard mp_decode_frame() return value. matroska: do not set invalid default duration if frame rate is zero mkv: use av_reduce instead of av_d2q for framerate estimation mkv: report average framerate as minimal as well avcodec_string: Favor AVCodecContext.codec over the default codec. cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow. Conflicts: libavcodec/cook.c libavcodec/ppc/mpegvideo_altivec.c libavcodec/utils.c libavformat/matroskadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | ppc: drop unused function dct_quantize_altivec()Diego Biurrun2012-04-183-465/+0
| | | | | | | | | | | | This also allows dropping some PPC-specific ugliness from dsputil.[ch].
| * | mpegaudiodec: Do not discard mp_decode_frame() return value.Diego Biurrun2012-04-181-0/+4
| | | | | | | | | | | | | | | This fixes the warning: libavcodec/mpegaudiodec.c:1704:14: warning: variable ‘out_size’ set but not used
| * | avcodec_string: Favor AVCodecContext.codec over the default codec.Alex Converse2012-04-171-1/+3
| | | | | | | | | | | | This improves output for formats with more than one AVCodec.
| * | cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow.Alex Converse2012-04-171-2/+2
| | |
* | | h263dec: Prevent dimension changes from leaking on errors in header parsing.Michael Niedermayer2012-04-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes crashes with frame threads caused by inconsistent context parameters. Fixes Ticket1207 Found-by: John Villamil Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | diracdec: check xybsepMichael Niedermayer2012-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | indeo: Make sure the to be used vlc table has been initilaized.Michael Niedermayer2012-04-181-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Reset pts_correction state on codec flush.Robert Nagy2012-04-181-0/+3
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | h264: reset current_slice on context reinitMichael Niedermayer2012-04-181-0/+1
| | | | | | | | | | | | | | | | | | | | | This fixes a null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Fix build dependencies for libvo-aac and libopencore-amrnb.Alexander Bokovikov2012-04-181-3/+6
| | |
* | | aacdec: drop channel reseting code.Michael Niedermayer2012-04-181-3/+0
| | | | | | | | | | | | | | | | | | its no longer needed and causes a race with the flv demuxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | aacdec: disable new chan_config guessing code from libav.Michael Niedermayer2012-04-181-1/+1
| | | | | | | | | | | | | | | | | | It causes more problems than it solves. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | aacdec: more verbose overread error messageMichael Niedermayer2012-04-181-6/+6
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | aacdec: reduce difference to alexs version of aacdec.cMichael Niedermayer2012-04-181-6/+8
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-187-183/+305
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: aacenc: Fix issues with huge values of bit_rate. dv_tablegen: Drop unnecessary av_unused attribute from dv_vlc_map_tableinit(). proresenc: multithreaded quantiser search riff: use bps instead of bits_per_coded_sample in the WAVEFORMATEXTENSIBLE header avconv: only set the "channels" option when it exists for the specified input format avplay: update get_buffer to be inline with avconv aacdec: More robust output configuration. faac: Fix multi-channel ordering faac: Add .channel_layouts rtmp: Support 'rtmp_playpath', an option which overrides the stream identifier rtmp: Support 'rtmp_app', an option which overrides the name of application avutil: add better documentation for AVSampleFormat Conflicts: libavcodec/aac.h libavcodec/aacdec.c libavcodec/aacenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | aacenc: Fix issues with huge values of bit_rate.Reimar Döffinger2012-04-172-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not pointlessly call ff_alloc_packet multiple times, and fix an infinite loop by clamping the maximum number of bits to target in the algorithm that does not use lambda. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * | dv_tablegen: Drop unnecessary av_unused attribute from dv_vlc_map_tableinit().Diego Biurrun2012-04-171-2/+1
| | |
| * | proresenc: multithreaded quantiser searchKostya Shishkov2012-04-171-60/+101
| | |
| * | aacdec: More robust output configuration.Alex Converse2012-04-163-113/+173
| | | | | | | | | | | | | | | | | | Save the old output configuration (if it has been used successfully) when trying a new configuration. If the new configuration fails to decode, restore the last successful configuration.
| * | faac: Fix multi-channel orderingCarl Eugen Hoyos2012-04-161-0/+10
| | | | | | | | | | | | Signed-off-by: Alex Converse <alex.converse@gmail.com>
| * | faac: Add .channel_layoutsAlex Converse2012-04-161-0/+12
| | |
* | | indeo5: dont run the wavelet transform over partially decoded bands.Michael Niedermayer2012-04-171-0/+5
| | | | | | | | | | | | | | | | | | | | | This fixes a null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | CrystalHD: Set aspect ratio.sebist2012-04-171-0/+50
| | | | | | | | | | | | | | | | | | Signed-off-by: sebist <sebok.istvan@gmail.com> Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | CrystalHD: fix pStride value.sebist2012-04-171-2/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: sebist <sebok.istvan@gmail.com> Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | nuv: check buffer size before checking content.Michael Niedermayer2012-04-171-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-177-174/+151
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: indeo3: add parens around some macro arguments h264: use proper PROLOGUE statement for a function using 8 registers. doc: Update sample Vim config with suitable (function) indentation settings. dv: Merge dvquant.h into dvdata.c where all other DV tables reside. dv: Move static tables only used in one place to where they are used. graphparser: set next to NULL on an entry extracted from inputs list doc/filters: update documentation. avconv: flush decoders immediately after an EOF. avconv: send EOF to vsrc_buffer. avconv: reindent. Conflicts: doc/filters.texi ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | indeo3: add parens around some macro argumentsMans Rullgard2012-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | Without these, the expansion contains things like --1 with some compilers resulting in build errors. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * | h264: use proper PROLOGUE statement for a function using 8 registers.Ronald S. Bultje2012-04-161-4/+4
| | | | | | | | | | | | Fixes crashes when using biweight on win64.
| * | dv: Merge dvquant.h into dvdata.c where all other DV tables reside.Diego Biurrun2012-04-165-136/+112
| | |
| * | dv: Move static tables only used in one place to where they are used.Diego Biurrun2012-04-163-32/+33
| | |
| * | utvideo: Remove unused variable 'src_size'Derek Buitenhuis2012-04-151-8/+4
| | | | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | | imgconvert: fix regression with fate-gif colorspaces.Michael Niedermayer2012-04-171-0/+1
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | svq3: check the watermark height.Michael Niedermayer2012-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | diracdec: check lowdelay bytes.Michael Niedermayer2012-04-161-0/+5
| | | | | | | | | | | | | | | | | | | | | Fixes division by zero Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | g729dec: initialize pitch_delay_int_prev to the minimum valid value.Michael Niedermayer2012-04-161-0/+2
| | | | | | | | | | | | | | | | | | | | | This prevents an out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | loco: fix 10l typo (missing case)Michael Niedermayer2012-04-161-1/+1
| | | | | | | | | | | | | | | Found-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dsicinav: Check for overread in RLE decode.Michael Niedermayer2012-04-161-2/+7
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | smacker: Check get_vlc() return values.Michael Niedermayer2012-04-161-0/+24
| | | | | | | | | | | | | | | | | | | | | Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | dcadec: fix global array overread.Michael Niedermayer2012-04-161-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Support decoding LOCO_CRGBA.Carl Eugen Hoyos2012-04-161-1/+1
| | | | | | | | | | | | Fixes a part of ticket #1222.
* | | indeo4: avoid storing invalid values in quant_mat.Michael Niedermayer2012-04-161-3/+5
| | | | | | | | | | | | | | | | | | | | | Fixes a global array overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | vc1dec: add missing terminating element to mpeg4_video_profilesMichael Niedermayer2012-04-161-0/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>