summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* avcodec/png_parser: Return the buffered data at the endMichael Niedermayer2014-09-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/pngdec: print the actual number of bytes left in the error caseMichael Niedermayer2014-09-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/h264: Use FF_ALLOCZ_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/dnxhdenc: Use FF_ALLOCZ_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpegvideo: Use FF_ALLOCZ_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/twinvq: Use FF_ALLOC_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/aacenc: Use FF_ALLOCZ_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/ac3enc_template: Use FF_ALLOC_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/adpcmenc: Use FF_ALLOC_ARRAY_OR_GOTO()Michael Niedermayer2014-09-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/snow: make new_picture constMichael Niedermayer2014-09-09
| | | | | | Fixes "assignment discards const qualifier from pointer target type" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'ee0ebd3c1412fdd9d80aa97c98d1a20b893f1f47'Michael Niedermayer2014-09-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ee0ebd3c1412fdd9d80aa97c98d1a20b893f1f47': dv: K&R formatting cosmetics Conflicts: libavcodec/dv.c libavcodec/dv.h libavcodec/dv_profile.c libavcodec/dvdec.c libavcodec/dvenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dv: K&R formatting cosmeticsGabriel Dume2014-09-09
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avcodec/rawenc: drop sizeof(AVFrame) dependencyMichael Niedermayer2014-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9752d07d33d5370f7819865fbb5e582b982aad06'Michael Niedermayer2014-09-09
|\| | | | | | | | | | | | | | | | | | | | | * commit '9752d07d33d5370f7819865fbb5e582b982aad06': dirac: K&R formatting cosmetics Conflicts: libavcodec/dirac.c libavcodec/dirac_parser.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dirac: K&R formatting cosmeticsGabriel Dume2014-09-09
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avcodec/mpeg4videodec: fix 'libavcodec/mpeg4videodec.c:2762:22: warning: ↵Michael Niedermayer2014-09-08
| | | | | | | | | | | | unused variable mpeg4_vdpau_class [-Wunused-const-variable]' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not ↵Michael Niedermayer2014-09-08
| | | | | | | | | | | | defined, evaluates to 0" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/diracdec: Fix "warning: comparison of constant 4 with expression of ↵Michael Niedermayer2014-09-08
| | | | | | | | | | | | type enum dirac_subband is always true [-Wtautological-constant-out-of-range-compare]" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Print the actual bit depth for audio if it is different from the sample_fmt ↵Carl Eugen Hoyos2014-09-08
| | | | | | | | | | | | bit depth. This is already done for video.
* | avcodec/ac3dec_fixed: remove unused arraysMichael Niedermayer2014-09-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d'Michael Niedermayer2014-09-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d': Split off floating point AAN (I)DCT into separate components Conflicts: configure libavcodec/Makefile libavcodec/dct-test.c libavcodec/idctdsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Split off floating point AAN (I)DCT into separate componentsDiego Biurrun2014-09-07
| |
* | avcodec/mpegvideo: Set err on failure in ff_mpv_common_frame_size_change()Michael Niedermayer2014-09-07
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: check that the context is initialized in ↵Michael Niedermayer2014-09-07
| | | | | | | | | | | | | | | | | | | | | | ff_mpv_common_frame_size_change() The function otherwise would initialize the context without setting context_initialized alternatively we could set context_initialized Fixes valgrind anomalies related to ticket 3928 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: Use "goto fail" for all error paths in ↵Michael Niedermayer2014-09-07
| | | | | | | | | | | | ff_mpv_common_frame_size_change() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: free_context_frame() cannot fail, make it return voidMichael Niedermayer2014-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h264: Allow partial escapingMichael Niedermayer2014-09-07
| | | | | | | | | | | | Fixes Ticket3923 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: Always initialize backup in decode_vui()Michael Niedermayer2014-09-06
| | | | | | | | | | | | | | Fixes CID1237283 Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | huffyuvdec: avoid large stack use.Reimar Döffinger2014-09-06
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | cabac: Allow hardcoding CABAC table.Reimar Döffinger2014-09-06
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | cabac: initialize all of ff_h264_cabac_tables programmatically.Reimar Döffinger2014-09-06
| | | | | | | | | | | | Moves it from .data to .bss, slightly reducing binary size. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | aacsbr: support hardcoding tables.Reimar Döffinger2014-09-06
| | | | | | | | | | | | | | | | For sbr_qmf_window_us there is even a question if it maybe should be fully hardcoded all the time. Since half of it is coded, it ends up in .data and not .bss. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avcodec/hevc: fix dead codeMickaël Raulet2014-09-06
| | | | | | | | | | | | | | fix CID 1231985 cherry picked from commit 745a35a777eaa5f77b8660b44098110a29916aae Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mjpegdec: fix rounding of chroma_heightMichael Niedermayer2014-09-06
| | | | | | | | | | | | | | Fixes green line at the bottom Fixes Ticket3913 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: set codec tags in ff_mpv_decode_init()Michael Niedermayer2014-09-05
| | | | | | | | | | | | | | Fixes Ticket3912 Reviewed-by: Benoit Fouet <benoit.fouet@free.fr> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: Factor ff_mpv_decode_init() outMichael Niedermayer2014-09-05
| | | | | | | | | | Reviewed-by: Benoit Fouet <benoit.fouet@free.fr> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '2143948381c8118bdc2f50bd4079520b9885bd54'Michael Niedermayer2014-09-05
|\| | | | | | | | | | | | | * commit '2143948381c8118bdc2f50bd4079520b9885bd54': Drop unnecessary av_unused attributes. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Drop unnecessary av_unused attributes.Diego Biurrun2014-09-05
| |
* | Merge commit '213e606752d16f51337e94431962fb5d7749c07e'Michael Niedermayer2014-09-05
|\| | | | | | | | | | | | | | | | | | | * commit '213e606752d16f51337e94431962fb5d7749c07e': Replace av_unused attributes by block structures Conflicts: libavcodec/h264_loopfilter.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace av_unused attributes by block structuresDiego Biurrun2014-09-05
| | | | | | | | | | This is more portable and avoids warnings with compilers that do not properly support av_unused.
* | Merge commit '096a1d5b46391f65dfd0bee6292e9962f53bd7c8'Michael Niedermayer2014-09-05
|\| | | | | | | | | | | | | * commit '096a1d5b46391f65dfd0bee6292e9962f53bd7c8': rdft: Move some variables into a separate block Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rdft: Move some variables into a separate blockDiego Biurrun2014-09-05
| | | | | | | | This avoids an unused variable warning with hardcoded tables.
* | Merge commit 'b574e1e97ea7067a5fcd3876e30a67df0e4e6611'Michael Niedermayer2014-09-05
|\| | | | | | | | | | | | | | | | | | | * commit 'b574e1e97ea7067a5fcd3876e30a67df0e4e6611': get_bits: Add OPEN_READER macro variant w/o size_plus8 Conflicts: libavcodec/get_bits.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * get_bits: Add OPEN_READER macro variant w/o size_plus8Diego Biurrun2014-09-05
| | | | | | | | This avoids a trillion warnings from MSVC.
* | tiff: fix {2,4}bpp grayscale palettes.Benoit Fouet2014-09-05
| | | | | | | | | | | | | | | | Create a default grayscale palette for 2 or 4 bpp grayscale tiff, if there is no palette defined. Fixes ticket #3915 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/libvpxenc: show crf CQ value in error messageStefano Sabatini2014-09-05
| |
* | x86/hevc_res_add: add missing guards to hevc_transform_add32_8_avx2James Almer2014-09-04
| | | | | | | | | | | | Should fix compilation with old Yasm/Nasm versions. Signed-off-by: James Almer <jamrial@gmail.com>
* | x86/hevc_res_add: add ff_hevc_transform_add32_8_avx2James Almer2014-09-04
| | | | | | | | | | | | | | ~20% faster than AVX. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | lavc/x86/v210: give cpuflag to INIT macroJames Darnley2014-09-05
| | | | | | | | | | | | | | This lets the cglobal macro automatically append a suffix to the function name. This means that INIT_XMM avx must be used rather than INIT_AVX. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '4d55e9de27894ddfb337b28cd7aa6d14a12666d2'Michael Niedermayer2014-09-04
|\| | | | | | | | | | | | | | | | | | | * commit '4d55e9de27894ddfb337b28cd7aa6d14a12666d2': vc1: Split bits used in libavformat into a separate header Conflicts: libavformat/movenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>