summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/svq1dec: Fix undefined shiftsMichael Niedermayer2015-03-131-2/+4
| | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* lavc: Print number of reference frames if debug level >= verbose.Carl Eugen Hoyos2015-03-131-0/+6
|
* x86: xvid_idct: port SSE2 iDCT to yasmChristophe Gisquet2015-03-135-413/+398
| | | | | | | | The main difference consists in renaming properly labels, and letting yasm select the gprs for skipping 1D transforms. Previous-version-reviewed-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* Merge commit '913aa9a4874418724183a3ec862cdc63b829367d'Michael Niedermayer2015-03-131-3/+3
|\ | | | | | | | | | | | | * commit '913aa9a4874418724183a3ec862cdc63b829367d': libx264: Return more meaningful error codes Merged-by: Michael Niedermayer <[email protected]>
| * libx264: Return more meaningful error codesHimangi Saraogi2015-03-121-3/+3
| | | | | | | | Signed-off-by: Luca Barbato <[email protected]>
* | Merge commit '17c45d4d056d0e10ecb88b424ec9e68be398da5e'Michael Niedermayer2015-03-121-0/+2
|\| | | | | | | | | | | | | * commit '17c45d4d056d0e10ecb88b424ec9e68be398da5e': libtheora: Check frame allocation Merged-by: Michael Niedermayer <[email protected]>
| * libtheora: Check frame allocationVittorio Giovara2015-03-121-0/+2
| |
* | Merge commit 'a72d93daa09ffbad2771f1450820941055eaf210'Michael Niedermayer2015-03-121-0/+2
|\| | | | | | | | | | | | | | | | | | | * commit 'a72d93daa09ffbad2771f1450820941055eaf210': mpegvideo_enc: Check AVCodecContext allocation Conflicts: libavcodec/mpegvideo_enc.c Merged-by: Michael Niedermayer <[email protected]>
| * mpegvideo_enc: Check AVCodecContext allocationVittorio Giovara2015-03-121-0/+2
| |
* | Merge commit '78c892284150e12f6b08b287bdf7e62307c6985f'Michael Niedermayer2015-03-121-1/+27
|\| | | | | | | | | | | | | * commit '78c892284150e12f6b08b287bdf7e62307c6985f': dca: Document the permuted order in the lfe_fir_64 and lfe_fir_128 tables Merged-by: Michael Niedermayer <[email protected]>
| * dca: Document the permuted order in the lfe_fir_64 and lfe_fir_128 tablesNiels Möller2015-03-121-1/+27
| |
| * roqvideoenc: set enc->avctx in roq_encode_initAndreas Cadhalpun2015-03-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | So far it is only set in roq_encode_frame, but it is used in roq_encode_end to free the coded_frame. This currently segfaults if roq_encode_frame is not called between roq_encode_init and roq_encode_end. CC:[email protected] Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
* | hevcdsp: fix compilation for arm and aarch64James Almer2015-03-125-12/+62
| | | | | | | | | | | | | | Also add av_cold to ff_hevcdsp_init_arm. Signed-off-by: James Almer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/vp9: Fix undefined shifts in decode_frame_header()Michael Niedermayer2015-03-121-2/+2
| | | | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Reviewed-by: "Ronald S. Bultje" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/h264_mb: Fix undefined shiftsMichael Niedermayer2015-03-121-7/+7
| | | | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Reviewed-by: "Ronald S. Bultje" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | hevc: delay ff_thread_finish_setup for hwaccelRainer Hochecker2015-03-121-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '212556cd2144659dc6b9d121ddb38cd272bd10ae'Michael Niedermayer2015-03-121-3/+10
|\| | | | | | | | | | | | | * commit '212556cd2144659dc6b9d121ddb38cd272bd10ae': qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4} Merged-by: Michael Niedermayer <[email protected]>
| * qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4}Yukinori Yamazoe2015-03-111-3/+10
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
| * mlpdec: support TrueHD streams with an Atmos substreamHendrik Leppkes2015-03-112-2/+4
| | | | | | | | | | | | | | | | | | The fourth substream is being discarded, since its not raw audio data, but an encoded Atmos stream which needs a specialized decoder. Fixes decoding of the true hd stream from Transformers\ -\ Age\ of\ Extinction\ 2014\ 1080P-003.mkv Signed-off-by: Anton Khirnov <[email protected]>
| * mlpdec: support major sync headers with optional extension blocksHendrik Leppkes2015-03-113-6/+31
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
* | avcodec/mpegvideo_motion: Fix undefined shifts in mpeg_motion_internal()Michael Niedermayer2015-03-111-3/+5
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/h264dsp_template: Fix undefined shift in biweight_h264_pixels and ↵Michael Niedermayer2015-03-111-3/+3
| | | | | | | | | | | | | | | | weight_h264_pixels Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/mpegvideo: Fix undefined shift in ff_mpv_lowest_referenced_row()Michael Niedermayer2015-03-111-2/+2
| | | | | | | | | | | | | | | | Also moves the shift out of the inner loop Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/vp8: Fix undefined shifts in vp8_mc_luma()Michael Niedermayer2015-03-111-2/+2
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/golomb: Fix undefined shifts in unsigned rice decoding codeMichael Niedermayer2015-03-111-2/+2
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/amrnbde: Fix undefined shift in decode_pitch_vector()Michael Niedermayer2015-03-111-3/+3
| | | | | | | | | | | | | | | | This also simplifies the code Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/wma: Fix undefined shift in ff_wma_run_level_decode()Michael Niedermayer2015-03-111-1/+1
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/vc1_pred: Fix undefined shift in ff_vc1_pred_mv()Michael Niedermayer2015-03-111-2/+4
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/mpeg12dec: Fix undefined shiftMichael Niedermayer2015-03-111-1/+1
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/012v: redesign main loopMichael Niedermayer2015-03-101-43/+39
| | | | | | | | | | | | | | | | | | Fixes out of array accesses Fixes: ffmpeg_012v_crash.ts Found-by: Thomas Lindroth <[email protected]> Reviewed-by: Thomas Lindroth <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/h264: Fix undefined shifts in pack16to32() and pack8to16()Michael Niedermayer2015-03-101-2/+2
| | | | | | | | | | Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/mpegvideo: Fix undefined shifts in ff_init_block_index()Michael Niedermayer2015-03-101-3/+3
| | | | | | | | | | Reported-by: Thierry Foucu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/012v: Check dimensions more completelyMichael Niedermayer2015-03-101-2/+2
| | | | | | | | | | | | | | Fixes division by 0 Found-by: Thomas Lindroth <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | lavc/hevcdsp: Fix compilation for arm with --disable-neon.Carl Eugen Hoyos2015-03-101-1/+1
| |
* | roqvideoenc: set enc->avctx in roq_encode_initAndreas Cadhalpun2015-03-091-0/+2
| | | | | | | | | | | | | | | | | | | | So far it is only set in roq_encode_frame, but it is used in roq_encode_end to free the coded_frame. This currently segfaults if roq_encode_frame is not called between roq_encode_init and roq_encode_end. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/libvpxenc: Clear twopass_stats.sz on deallocationMichael Niedermayer2015-03-091-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '93f7948136fcda8ddbbc44a6c24418f11ca829b8'Michael Niedermayer2015-03-091-4/+4
|\| | | | | | | | | | | | | * commit '93f7948136fcda8ddbbc44a6c24418f11ca829b8': libvpx: Fix mixed use of av_malloc() and av_reallocp() Merged-by: Michael Niedermayer <[email protected]>
| * libvpx: Fix mixed use of av_malloc() and av_reallocp()Vittorio Giovara2015-03-091-4/+4
| | | | | | | | | | | | | | | | This buffer is resized when vpx_codec_get_cx_data() returns a VPX_CODEC_STATS_PKT packet. CC: [email protected] Signed-off-by: Vittorio Giovara <[email protected]>
| * utvideodec: Handle slice_height being zeroMichael Niedermayer2015-03-091-0/+4
| | | | | | | | | | | | | | | | | | | | Fixes out of array accesses. CC: [email protected] Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Bug-Id: CVE-2014-9604 Signed-off-by: Vittorio Giovara <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
* | avcodec/hevc_parser: use avpriv_find_start_code in hevc_split()zhaoxiu.zeng2015-03-091-13/+13
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | avcodec/options_table: remove extradata_size from the AVOptions tableMichael Niedermayer2015-03-091-1/+0
| | | | | | | | | | | | | | | | | | | | allowing access to the size but not the extradata itself is not useful and could lead to potential problems if writing happens through this field Reviewed-by: Andreas Cadhalpun <[email protected]> Reviewed-by: Lukasz Marek <[email protected]> Reviewed-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | Fix the intra_dc_precision API doc.Carl Eugen Hoyos2015-03-091-1/+1
| | | | | | | | The mpegvideo decoder has set intra_dc_precision since forever.
* | lavc/ffv1enc: Auto-select -coder 1 for >8bit also for yuv.Carl Eugen Hoyos2015-03-091-0/+4
| | | | | | | | Reported-by: Christoph Gerstbauer
* | avcodec/tiff: move bpp check to after "end:"Michael Niedermayer2015-03-081-7/+7
| | | | | | | | | | | | This ensures that all current and future code-pathes get bpp checked Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit 'ae5e1f3d663a8c9a532d89e588cbc61f171c9186'Michael Niedermayer2015-03-081-0/+8
|\| | | | | | | | | | | | | | | * commit 'ae5e1f3d663a8c9a532d89e588cbc61f171c9186': tiff: Check that there is no aliasing in pixel format selection See: e1c0cfaa419aa5d320540d5a1b3f8fd9b82ab7e5 Merged-by: Michael Niedermayer <[email protected]>
| * tiff: Check that there is no aliasing in pixel format selectionAnton Khirnov2015-03-081-0/+8
| | | | | | | | | | | | | | | | | | Fixes possible issues with unexpected bpp/bppcount values. CC: [email protected] Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Bug-Id: CVE-2014-8544 Signed-off-by: Luca Barbato <[email protected]>
* | Merge commit '0025f7408a0fab2cab4a950064e4784a67463994'Michael Niedermayer2015-03-081-20/+15
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '0025f7408a0fab2cab4a950064e4784a67463994': vorbis: Check the vlc value in setup_classifs Conflicts: libavcodec/vorbisdec.c See: ae038c0914460646503be083e30e3971093239a1 See: 709cae2bcbc0ea2c5d46c932b3d8301cf8f98e6b Merged-by: Michael Niedermayer <[email protected]>
| * vorbis: Check the vlc value in setup_classifsLuca Barbato2015-03-081-16/+14
| | | | | | | | | | | | | | | | The valid returned values are always at most 11bit. Remove the previous check that assumed larger values plausible and use a signed integer to check get_vlc2 return values. CC: [email protected]
* | Merge commit '62de77ffcaebd42fe685b8426da56b89b2532318'Michael Niedermayer2015-03-081-3/+4
|\| | | | | | | | | | | | | * commit '62de77ffcaebd42fe685b8426da56b89b2532318': vorbis: Use a local codebook variable Merged-by: Michael Niedermayer <[email protected]>
| * vorbis: Use a local codebook variableLuca Barbato2015-03-081-3/+4
| | | | | | | | Makes the code a little simpler.