summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* wavpackenc: simplify "sign = ((sample) < 0) ? 1 : 0;"Michael Niedermayer2013-08-141-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/lzwenc: change asserts to av_assertsMichael Niedermayer2013-08-141-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/gif: use the whole allocated bufferMichael Niedermayer2013-08-141-1/+1
| | | | | | Fixes some gif encoding failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/lzwenc: Add 1 additional bit of padding for gifMichael Niedermayer2013-08-141-0/+3
| | | | | | This fixes issues with gimp reading animated gifs Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/gif: move BITSTREAM_WRITER_LE upMichael Niedermayer2013-08-141-1/+1
| | | | | | This prevents issues in case any header #includes put_bits.h Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: print a message when there was just a single field and no ↵Michael Niedermayer2013-08-141-0/+4
| | | | | | | | frame Fixes ticket1915 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* WavPack encoderPaul B Mahol2013-08-147-161/+3847
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit 'f13fe6020e6a3871f9b0c96b240e58e6ed4fb5d7'Michael Niedermayer2013-08-141-2/+5
|\ | | | | | | | | | | | | * commit 'f13fe6020e6a3871f9b0c96b240e58e6ed4fb5d7': rtjpeg: Use init_get_bits8 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtjpeg: Use init_get_bits8Luca Barbato2013-08-131-2/+5
| | | | | | | | CC:libav-stable@libav.org
* | Merge commit '62cc7a91080194d9ead162516f779f20931220d9'Michael Niedermayer2013-08-141-3/+3
|\ \ | |/ | | | | | | | | | | * commit '62cc7a91080194d9ead162516f779f20931220d9': rtjpeg: return meaningful error codes Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtjpeg: return meaningful error codesLuca Barbato2013-08-131-3/+3
| |
* | Merge commit '2df0776c2293efb0ac12c003843ce19332342e01'Michael Niedermayer2013-08-141-1/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '2df0776c2293efb0ac12c003843ce19332342e01': nuv: Use av_fast_realloc Conflicts: libavcodec/nuv.c This change is not merged, the long ago fixed buffer use after codec_reinit() was a bug. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * nuv: Use av_fast_reallocLuca Barbato2013-08-131-5/+10
| | | | | | | | | | | | | | | | The decompressed buffer can be used after codec_reinit, so it must be preserved. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | Merge commit 'feaaf5f7f0afac7223457f871af2ec9b99eb6cc6'Michael Niedermayer2013-08-141-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'feaaf5f7f0afac7223457f871af2ec9b99eb6cc6': nuv: Reset the frame on resize Conflicts: libavcodec/nuv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * nuv: Reset the frame on resizeLuca Barbato2013-08-131-0/+1
| | | | | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | Merge commit '075dbc185521f193c98b896cd63be3ec2613df5d'Michael Niedermayer2013-08-141-3/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit '075dbc185521f193c98b896cd63be3ec2613df5d': nuv: Pad the lzo outbuf Conflicts: libavcodec/nuv.c See: 95e1dfee76c9ecdf70037b7e792897bc6e3d460b See: 266f6eefc603dd3c34be7de94eec5c9c293b80f1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * nuv: Pad the lzo outbufLuca Barbato2013-08-131-3/+5
| | | | | | | | | | | | | | And properly update the buf_size with the correct size. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* | Merge commit 'aae159a7cc4df7d0521901022b778c9da251c24e'Michael Niedermayer2013-08-141-1/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'aae159a7cc4df7d0521901022b778c9da251c24e': nuv: Do not ignore lzo decompression failures Conflicts: libavcodec/nuv.c tests/ref/fate/nuv-rtjpeg Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * nuv: Do not ignore lzo decompression failuresLuca Barbato2013-08-131-1/+3
| | | | | | | | | | | | | | | | Update the fate reference since the last broken frame is not decoded anymore. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * png: allow encoding 16-bit grayscaleIan Taylor2013-08-131-0/+5
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec/gsmdec: reject unsupported msn audio modesPiotr Bandurski2013-08-131-0/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiff: frame multithreading supportPaul B Mahol2013-08-131-6/+9
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/mpeg12dec: check slice size before trying to decode itMichael Niedermayer2013-08-131-0/+5
| | | | | | | | | | | | Fixes assertion failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Update my email address.Thilo Borgmann2013-08-137-14/+14
| |
* | avcodec: free priv_data in avcodec_copy_context()Michael Niedermayer2013-08-131-0/+4
| | | | | | | | | | | | | | Fixes memleak Fixes Ticket2216 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: clarify documentation of avcodec_copy_context()Michael Niedermayer2013-08-131-1/+1
| | | | | | | | | | | | Following this is not strictly needed but safes some malloc+free Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mjpegdec: Read EXIF metadata in JPEG input.Thilo Borgmann2013-08-133-1/+48
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: Add EXIF metadata parser to libavcodec.Thilo Borgmann2013-08-132-0/+300
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/tiff: Refactor TIFF tag related functions to share the code.Thilo Borgmann2013-08-135-203/+457
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/xsubenc.c: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/rv40.c: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/mpegvideo.h: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/lpc.h: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/dv.c: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/bintext.h: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/bink.c: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/avcodec.h: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/ac3tab.c: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/ac3enc_template.c: Fix duplicate wordsMichael Niedermayer2013-08-121-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-08-121-11/+24
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: wmall: use AVFrame API properly Conflicts: libavcodec/wmalosslessdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wmall: use AVFrame API properlyHendrik Leppkes2013-08-111-12/+25
| | | | | | | | | | | | This fixes a bug with non-refcounted callers resulting in invalid memory access. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Fix wrong use of "an" in some comments.Thilo Borgmann2013-08-122-2/+2
| |
* | avcodec: Remove ff_packet_free_side_data, use av_packet_free_side_dataMichael Niedermayer2013-08-123-18/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Make new VDPAU easier to use by adding context to callback.Reimar Döffinger2013-08-114-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using VDPAU correctly means checking for preemption and possibly regenerating the context all the time. With the current API there is no context or other user-defined pointer and thus this in not possible during decoding unless using some hack like global variables. The need to reinitialize both surfaces and even function pointers makes handling preemption even more difficult. This patch introduces a new render2 function that gets both the AVCodecContext and AVFrame in addition, in both the user can store additional opaque data. This allows even advanced approaches like keeping a "generation counter" for the surfaces so they can be regenerated on the fly and efficiently. In addition, the function has a return value that will be passed through all the way instead of being silently ignored as for the current render function. Unfortunately the HWAccel API has no way of providing API/ABI compatibility, so a currently disallowed state (render pointer being NULL) is used to extend it. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vdpau: Add an allocation function for AVVDPAUContext.Reimar Döffinger2013-08-113-2/+15
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vdpau_internal.h: Add missing include for FF_API_BUFS_VDPAU.Reimar Döffinger2013-08-111-0/+1
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | sanm: fix undefined behaviour on big-endian.Reimar Döffinger2013-08-111-2/+4
| | | | | | | | | | | | | | A variable with post-increment may only appear once in a statement. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | tiff: continue parsing on non fatal errorsMichael Niedermayer2013-08-111-4/+5
| | | | | | | | | | Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videodec: Parse newpred headersMichael Niedermayer2013-08-111-1/+16
| | | | | | | | | | | | This is untested due to lack of a non broken file using new pred Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg4videodec: check resolution marker bitsMichael Niedermayer2013-08-111-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud