summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* avpacket: Fixing side data copy when src == dstVignesh Venkatasubramanian2013-09-02
| | | | | | | | | | Fixing av_packet_copy_side_data to work correctly when source and destination are the same. This makes sure that there is no memory leak and double frees. Signed-off by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/pnmdec: fix unaligned readMichael Niedermayer2013-09-02
| | | | | | Fixes fate-lavf-pam on alpha Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/pnmdec: use a more specific pointer type than void in samplecpy()Michael Niedermayer2013-09-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Avoid a deadlock when decoding wma.Carl Eugen Hoyos2013-09-02
| | | | Fixes ticket #2925.
* lavc: add teletext decoder using libzvbiMarton Balint2013-09-02
| | | | | | | | | | | | | | | | | Based on a patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2012-December/136677.html The original patch was rebased by Tudor SUCIU <tudor.suciu@gmail.com>. Lots of additional features and fixes are made by me. Fixes ticket #2086. Changes since last version: - change default page to all pages Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/ffv1dec: reorganize thread init/updateMichael Niedermayer2013-09-01
| | | | | | | | | This moves some allocations to init, reducing possible failure modes in update. Always copies from the previous context instead of just during init Fixes Ticket2923 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/ffv1dec: move initial_states init to init_thread_copy()Michael Niedermayer2013-09-01
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* pcm-dvd: use av_freep()Paul B Mahol2013-09-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* pcm-dvd: remove redundant log messagePaul B Mahol2013-09-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/pcm-dvd: discard buffer if block size changedMichael Niedermayer2013-09-01
| | | | | | This prevents a potential crash Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* pcm-dvd: Fix build on big endianMartin Storsjö2013-09-01
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'a42e3a6700547e4e49445bda81d3a89ec3e081a9'Michael Niedermayer2013-09-01
|\ | | | | | | | | | | | | | | | | | | | | | | * commit 'a42e3a6700547e4e49445bda81d3a89ec3e081a9': pcm_dvd: consolidate pieces from pcm.c and mpeg.c Conflicts: libavcodec/pcm.c libavcodec/version.h libavformat/mpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pcm_dvd: consolidate pieces from pcm.c and mpeg.cChristian Schmidt2013-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the header decoding for PCM audio from mpeg.c and the 20/24bit parts from pcm.c and merge them into a new decoder in pcm-dvd.c. The decoder has added support for samples that span multiple packets and modified 20/24bit group decoding. Both is needed to decode samples that have been generated with DVD-Lab Pro 2. The decoding of 16bit PCM and two channel 24bit is identical to before. No other samples are known to verify the correctness of the encoding this software does. The complete list of tested formats is 48kHz/16bit/2-8 channels 48kHz/24bit/2-5 channels 96kHz/16bit/2-4 channels 96kHz/24bit/2 channels Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec/h264: set er.ref_count earlierMichael Niedermayer2013-09-01
| | | | | | | | | | | | Fixes Ticket2910 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/error_resilience: change out commented printf() to av_log()Michael Niedermayer2013-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/utils: avcodec_string: print colorspace typeMichael Niedermayer2013-08-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/utils: avcodec_string: Print color_rangeMichael Niedermayer2013-08-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/utils: avcodec_string: make the colorspace printing code more ↵Michael Niedermayer2013-08-31
| | | | | | | | | | | | extendible. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2013-08-31
|\ \ | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: Fix make checkheaders for wavpackenc.h Fix make checkheaders for vdpau_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Fix make checkheaders for wavpackenc.hCarl Eugen Hoyos2013-08-31
| | |
| * | Fix make checkheaders for vdpau_internal.hCarl Eugen Hoyos2013-08-31
| | |
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-08-31
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * qatar/master: pcm_bluray: cosmetics Conflicts: libavcodec/pcm-bluray.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | pcm_bluray: cosmeticsChristian Schmidt2013-08-31
| | |
* | | Merge commit '0d6549d8b57aaa5be8efb794154cdbe9a645910f'Michael Niedermayer2013-08-31
|\| | | |/ |/| | | | | | | | | * commit '0d6549d8b57aaa5be8efb794154cdbe9a645910f': pcm_bluray: rename pcm-mpeg.c to pcm-bluray.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pcm_bluray: rename pcm-mpeg.c to pcm-bluray.cChristian Schmidt2013-08-31
| | | | | | | | | | | | The original idea was to collect PCM codecs that could appear in various MPEG streams in this file. Discussion in IRC lead to the conclusion that one codec per file would be better and stop the need for #ifdefs.
* | avcodec/dsputil: fix signedness in sizeof() comparissionsMichael Niedermayer2013-08-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pngdsp: fix (un)signed type in end comparissionMichael Niedermayer2013-08-30
| | | | | | | | | | | | | | | | Fixes out of array accesses Fixes Ticket2919 Found_by: ami_stuff Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/avpacket: Use av_free_packet() in error cleanupsMichael Niedermayer2013-08-30
| | | | | | | | | | | | | | This prevents memleaks on errors reproduceable with fate when error pathes are forced Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | kgv1dec: remove unused avctx from codec private contextPaul B Mahol2013-08-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | kgv1dec: make decoder independent of sizeof(AVFrame)Paul B Mahol2013-08-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | wnv1: remove unused avctx from codec private contextPaul B Mahol2013-08-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pngdec: fix last_row_size typeMichael Niedermayer2013-08-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pngdec: Fix padded alloc code with threadsMichael Niedermayer2013-08-30
| | | | | | | | | | | | | | | | Fixes Ticket2903 Fixes out of array write no releases should be affected by this Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-30
| |
* | Fix compilation with --disable-mmx.Carl Eugen Hoyos2013-08-30
| |
* | avcodec/mpegvideo: reduce log level for messages about allocating frames.Michael Niedermayer2013-08-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1dec: Check bits_per_raw_sample and colorspace for equality in ver 0/1 ↵Michael Niedermayer2013-08-30
| | | | | | | | | | | | headers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'e998b56362c711701b3daa34e7b956e7126336f4'Michael Niedermayer2013-08-30
|\| | | | | | | | | | | | | * commit 'e998b56362c711701b3daa34e7b956e7126336f4': x86: avcodec: Consistently structure CPU extension initialization Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: avcodec: Consistently structure CPU extension initializationDiego Biurrun2013-08-29
| |
* | avcodec/x86/lpc: Fix cpu flag checks so they workMichael Niedermayer2013-08-30
| | | | | | | | | | | | Broken by 6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/vp8dsp: Fix cpu flag checks so they workMichael Niedermayer2013-08-30
| | | | | | | | | | | | Broken by 6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0'Michael Niedermayer2013-08-30
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0': x86: avcodec: Use convenience macros to check for CPU flags Conflicts: libavcodec/x86/dsputil_init.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/motion_est.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: avcodec: Use convenience macros to check for CPU flagsDiego Biurrun2013-08-29
| |
* | Merge commit 'a6b650118543e1580e872896d8976042b7c32d01'Michael Niedermayer2013-08-30
|\| | | | | | | | | | | | | * commit 'a6b650118543e1580e872896d8976042b7c32d01': ppc: cosmetics: Consistently format CPU flag detection invocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: cosmetics: Consistently format CPU flag detection invocationsDiego Biurrun2013-08-29
| |
* | ffv1dec: check that global parameters dont change in version 0/1Michael Niedermayer2013-08-30
| | | | | | | | | | | | | | | | | | Such changes are not allowed nor supported Fixes Ticket2906 Found-by: ami_stuff Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1dec: check global header versionMichael Niedermayer2013-08-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: Dont incorrectly warn about missing keyframesMichael Niedermayer2013-08-30
| | | | | | | | | | | | | | | | Files starting with B frames in presentation order generated the "no keyframe" warning before this change. Based on patch by: Robert Krüger <krueger@lesspain.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | snow: Check av_frame_alloc() failuresMichael Niedermayer2013-08-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snow: gray supportMichael Niedermayer2013-08-29
| | | | | | | | | | | | Fixes Ticket839 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>