summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/ffv1: use av_malloc_array()Michael Niedermayer2014-04-121-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/faxcompr: use av_malloc_array()Michael Niedermayer2014-04-121-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vcodec/error_resilience: use av_malloc_array()Michael Niedermayer2014-04-121-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/elbg: Use av_malloc(z)_array()Michael Niedermayer2014-04-121-8/+8
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/diracdec: use av_malloc(z)_arrayMichael Niedermayer2014-04-121-8/+8
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpegvideo_enc: override bitrate tolerance when its value is too smallMichael Niedermayer2014-04-121-3/+3
| | | | | | Fixes Ticket3257 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2014-04-123-28/+31
|\ | | | | | | | | | | | | | | * cehoyos/master: Improve amr bitrate calculation for VBR files. Warn if rawvideo and an unreadable pix_fmt are written. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Warn if rawvideo and an unreadable pix_fmt are written.Carl Eugen Hoyos2014-04-113-28/+31
| | | | | | | | | | | | Print an error if a combination of rawvideo and an unusual pix_fmt that will be impossible to decode are written to avi or mov. Fixes ticket #3545.
* | avcodec/jpegls: print coding parameters stored in LSEMichael Niedermayer2014-04-111-0/+5
|/ | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '676856204b84dfaffe329dce8502e834a0dbdb19'Michael Niedermayer2014-04-111-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '676856204b84dfaffe329dce8502e834a0dbdb19': DNxHD: make get_pixel_8x4_sym accept ptrdiff_t as stride Conflicts: libavcodec/dnxhdenc.h libavcodec/x86/dnxhdenc_init.c See: cb11b9e89e152ed4db22e5ad0349b63fac02101e Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * DNxHD: make get_pixel_8x4_sym accept ptrdiff_t as strideTimothy Gu2014-04-113-4/+5
| |
* | Merge commit '89ef08c992c484a46711b1a68a988303679c288e'Michael Niedermayer2014-04-114-205/+308
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit '89ef08c992c484a46711b1a68a988303679c288e': DNxHD: K&R formatting cosmetics Conflicts: libavcodec/dnxhd_parser.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * DNxHD: K&R formatting cosmeticsVittorio Giovara2014-04-114-210/+319
| |
* | avcodec/dnxhdenc: use av_malloc_array()Michael Niedermayer2014-04-111-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-04-111-1/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * qatar/master: mp2: Do not force a samplerate Conflicts: libavcodec/mpegaudioenc_template.c Only libtwolame changes, as the forcing of a sample rate was not merged for the native mp2 encoder Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mp2: Do not force a samplerateLuca Barbato2014-04-112-2/+0
| | | | | | | | The default should be not to resample.
| * libx265: Only set the SAR if it is validDerek Buitenhuis2014-04-101-7/+9
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * libx265: Use 16-bit SARDerek Buitenhuis2014-04-101-2/+2
| | | | | | | | | | | | The spec says it is 16 bits. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * libx265: Use x265_param_parse to set the SARDerek Buitenhuis2014-04-101-5/+6
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec/mpegaudioenc_template: default to 384k bitrate as defaultMichael Niedermayer2014-04-111-1/+6
| | | | | | | | | | | | | | | | If 384k is too high for the samplerate, choose the closest possible Idea to increase the bitrate from: 46439e156219d27f059cf687743ba5aacf238b87 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Cosmetics: Remove an outdated comment from lavc/rawdec.c.Carl Eugen Hoyos2014-04-101-2/+0
| | | | | | | | The missing swscale feature was implemented in 2011.
* | avcodec/imgconvert: fix nb_components and depth for PAL8 in get_pix_fmt_score()Michael Niedermayer2014-04-101-5/+10
| | | | | | | | | | | | | | | | | | This causes us to favor RGB8 over PAL8 when FF_LOSS_COLORQUANT is used It probably makes sense to reinvestigate the exact scoring of pal8 when our pal8 support improves to be supperior to rgb8 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libx265: Only set the SAR if it is validDerek Buitenhuis2014-04-101-7/+9
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | libx265: Use 16-bit SARDerek Buitenhuis2014-04-101-2/+2
| | | | | | | | | | | | The spec says it is 16 bits. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec/x86: Exclude broken get_cabac under icl.Matt Oliver2014-04-102-4/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libx265: Use x265_param_parse to set the SARDerek Buitenhuis2014-04-101-5/+6
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec/mpegvideo_enc: change some asserts to av_assertsMichael Niedermayer2014-04-091-4/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/cngdec: use av_mallocz_array()Michael Niedermayer2014-04-091-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeglsdec/ff_jpegls_decode_lse: check len field validityMichael Niedermayer2014-04-091-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeglsdec: ask for sample for "oversized image"Michael Niedermayer2014-04-091-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpeg12dec: drop confusing av_dlog()Michael Niedermayer2014-04-091-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dirac_arith: Fix build with PIC and stack-check optionsAnthoine Bourgeois2014-04-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | Fixes Ticket3540 The function dirac_get_arith_bit in libavcodec/dirac_arith.h can't be built with PIC and check-stack because the asm code needs 6 registers and PIC and check-stack options take 1 each and x86 is quite limited in this area. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/sanm: use named consant instead of literal numberMichael Niedermayer2014-04-091-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: remove AVFrame padding, as the hack isnt needed anymoreMichael Niedermayer2014-04-091-1/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snowenc: remove operations that have become redundant with AVFrame ↵Michael Niedermayer2014-04-091-7/+1
| | | | | | | | | | | | pointers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-04-0935-417/+449
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegvideo: operate with pointers to AVFrames instead of whole structs Conflicts: libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/intrax8.c libavcodec/mpeg12enc.c libavcodec/mpegvideo.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/mpegvideo_xvmc.c libavcodec/msmpeg4.c libavcodec/ratecontrol.c libavcodec/vaapi.c libavcodec/vc1dec.c libavcodec/vdpau_vc1.c See: fc567ac49e17151f00f31b59030cd10f952612ef Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-0934-381/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/mpegaudioenc_template: reorder operations to prevent integer overflowMichael Niedermayer2014-04-091-3/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegaudioenc_template: dont crash on bitrate=0Michael Niedermayer2014-04-091-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b6a09ef700786b4e1e871dfa0f5c386ea43bbd0a'Michael Niedermayer2014-04-092-11/+1
|\ \ | |/ | | | | | | | | | | | | * commit 'b6a09ef700786b4e1e871dfa0f5c386ea43bbd0a': rawvideo: Support decoding YVYU422 FourCC See: ab7d6cb8f770c3b88a8139d1182fcc934062f891 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rawvideo: Support decoding YVYU422 FourCCVittorio Giovara2014-04-081-0/+1
| |
* | Merge commit '46439e156219d27f059cf687743ba5aacf238b87'Michael Niedermayer2014-04-091-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '46439e156219d27f059cf687743ba5aacf238b87': mp2: match twolame default options Not merged as the change breaks fate, also forcing resampling to specific sample rate reduces quality, and would be like rescaling every movie to 1080. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mp2: match twolame default optionsVittorio Giovara2014-04-071-1/+2
| |
* | Merge commit '718907cd881a0b593264aed059c0e00da13f9e15'Michael Niedermayer2014-04-092-71/+99
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '718907cd881a0b593264aed059c0e00da13f9e15': libtwolame MP2 encoding support Conflicts: Changelog configure doc/general.texi libavcodec/Makefile libavcodec/libtwolame.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libtwolame MP2 encoding supportPaul B Mahol2014-04-074-2/+230
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * libxvid: fix missing end of line characterVittorio Giovara2014-04-071-1/+1
| | | | | | | | Error introduced in 5ce7ca68b86856ee8e9d6530dffdadc4eca4f8d1.
* | avcodec/j2kenc: use av_malloc(z)_array()Michael Niedermayer2014-04-081-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libzvbi-teletextdec: remove * 1Michael Niedermayer2014-04-081-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libopencore-amr: use av_mallocz_array()Michael Niedermayer2014-04-081-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vcodec/bitstream: use av_malloc_array()Michael Niedermayer2014-04-081-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>