summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | avcodec/jpeglsdec: assert that overflows end at exactly x=wMichael Niedermayer2015-05-13
| | | | | | | | | | | | If that ever was untrue, there would be a bug in the code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dec: fix boolean operatorMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fixes CID1271791 #7-6 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: Move log2_ctb_size checks up to prevent undefined shift ↵Michael Niedermayer2015-05-13
| | | | | | | | | | | | | | | | operations Fixes CID1292293 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: Explicitly check num_tile_* for negative valuesMichael Niedermayer2015-05-13
| | | | | | | | | | | | This fixes nothing but maybe helps coverity which does not see that this is failing later Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: Check vps_num_hrd_parametersMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fix CID1239052 part2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: More completely check vps_num_layer_setsMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fixes CID1239052 part1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: Simplify entry_point_offset parsingMichael Niedermayer2015-05-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: Check num_entry_point_offsetsMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fixes CID1239099 part 2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: Check offset_lenMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fixes CID1239099 part 1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/ffprobe.xsd: add build_date and build_time as optional attributesDave Rice2015-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partly undoes 7b35a01. The intent of patch 7b35a01 was to no longer use build_date and build_time as attributes of programVersion, but the patch also had the effect of making all records generated with an earlier ffprobe build with build_date and build_time as invalid. This patch puts the two attributes back but without mandating their use, thus older ffprobe records as backwards compatible with the current schema and their use is no longer required. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | doc/ffprobe.xsd: remove extra sequence from streamTypeDave Rice2015-05-13
| | | | | | | | | | | | This makes the XSD valid again. Fixes a regression from a72b61a. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | libswscale/x86/hscale_fast_bilinear_simd.c: There's no need to save BX if ↵Nick Lewycky2015-05-13
| | | | | | | | | | | | it's in the clobber list. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libswscale/x86/hscale_fast_bilinear_simd.c: Include BX in the clobber list ↵Nick Lewycky2015-05-13
| | | | | | | | | | | | on x86_64, because it isn't implicitly included when PIC is on. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | configure: disabled -mips64 option for loongson and remove redundant cpuflags周晓勇2015-05-13
| | | | | | | | | | | | | | 1.Option -march=loongson3a conflicts with -mips64 or -mips64r2. 2.Option -mhard-float has been removed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | imgutils: initialize palette padding bytes in av_image_allocAndreas Cadhalpun2015-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | av_image_fill_pointers always aligns the palette, but the padding bytes don't (and can't) get initialized in av_image_copy. Thus initialize them in av_image_alloc. This fixes 'Syscall param write(buf) points to uninitialised byte(s)' valgrind warnings. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacdec: remove a duplicated lineAndreas Cadhalpun2015-05-13
| | | | | | | | | | | | | | got_frame_ptr is set again after the if block. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_zoompan: free out AVFrame on failureMichael Niedermayer2015-05-13
| | | | | | | | | | | | | | Fixes: CID1197065 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_sei: Check num_sps_ids_minus1 valueMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fixes CID1271794 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vqavideo: Check chunk sizeMichael Niedermayer2015-05-13
| | | | | | | | | | | | Fixes CID1239154 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacdec: don't return frames without dataAndreas Cadhalpun2015-05-12
| | | | | | | | | | | | | | | | | | | | | | Since commit 676a395a aac->frame->data is not necessarily allocated at the end of aac_decode_frame_int if avctx->channels is 0. In this case a bogus frame without any data, but non-zero nb_samples is returned. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/avf_showcqt: Fix gamma comparisonsMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1297587, CID1297586, 1297585 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_cover_rect: Handle the case where the cover rectangle is as ↵Michael Niedermayer2015-05-12
| | | | | | | | | | | | | | | | | | large as the input Fixes division by 0 Fixes CID1297575 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_fftfilt: Add MAX_PLANES and change it to 4Michael Niedermayer2015-05-12
| | | | | | | | | | | | The 4th planes is currently unused as no formats with alpha are supported yet Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/hevc: Check num_negative_pics and num_positive_picsMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1238994 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/hevc: Check cpb_cnt_minus1Michael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1239014 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/hls: Handle read_buffer allocation failureMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1297576 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/idcin: Remove redundant chunk size checkMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1138438 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskadec: Cleanup error handling for bz2 & zlibMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID703652 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/nutdec: Fix use of uinitialized valueMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1041175 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec_xiph: Move pkt_len onto one side of the checkMichael Niedermayer2015-05-12
| | | | | | | | | | | | | | This is more correct Fixes CID1271793 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpdec_xiph: Check upper bound on len in xiph_handle_packet()Michael Niedermayer2015-05-12
| | | | | | | | | | | | Larger packets are not supported and would cause problems later Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/rtpenc_jpeg: Check remaining buffer size for SOSMichael Niedermayer2015-05-12
| | | | | | | | | | | | Fixes CID1238818 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/riffenc: Use size_t for strlen in ff_riff_write_info_tag()Michael Niedermayer2015-05-12
| | | | | | | | | | | | Also dont generated corrupted output for larger than 4gb strings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/af_aphaser: reject too small delayPaul B Mahol2015-05-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/img2dec: add option to disable pattern matchingMarton Balint2015-05-12
| | | | | | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: Test pullup and fieldmatch with 5 instead of 1 frameMichael Niedermayer2015-05-12
| | | | | | | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'da5c6a97bbfe34d4b30a89e72150dd400299ddce'Michael Niedermayer2015-05-12
|\| | | | | | | | | | | | | | | * commit 'da5c6a97bbfe34d4b30a89e72150dd400299ddce': riff: Add MultiScope II fourcc MSC2 as MJPEG See: e31cdb5cc8080e164c66838a69f37f60f2d0ea82 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * riff: Add MultiScope II fourcc MSC2 as MJPEGCarl Eugen Hoyos2015-05-12
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '0670acc4f1c4ceb16968818a654e07a3f550a8c9'Michael Niedermayer2015-05-12
|\| | | | | | | | | | | | | | | | | | | | | * commit '0670acc4f1c4ceb16968818a654e07a3f550a8c9': dca_parser: Extend DTS core sync word and fix existing check Conflicts: libavcodec/dca_parser.c See: e80b2b9c81716a5d9f559c04cfe69d76b04e4cd3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dca_parser: Extend DTS core sync word and fix existing checkfoo862015-05-12
| | | | | | | | | | | | | | | | | | | | | | | | The previous version checked for 14-bit streams and did not properly work across buffer boundaries. Use the 64-bit parser state to make extended sync word detection work across buffer boundary and check the extended sync word for 16-bit LE and BE core streams to reduce probability of alias sync detection. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | tools/graph2dot: use larger data types than int for array/string sizesMichael Niedermayer2015-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/internal: Fix warning about struct declarationMichael Niedermayer2015-05-12
| | | | | | | | | | | | Moving ffio_open2_wrapper() to internal as it uses AVFormatContext Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: Fix order of operations in hls_decode_neighbour()Michael Niedermayer2015-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mlvdec: Use AVFormatContext->open_cb()Michael Niedermayer2015-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/avformat: slightly more verbose documentation for open_cb()Michael Niedermayer2015-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mov: Use open_cb() if setMichael Niedermayer2015-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: add callback for opening further filesMichael Niedermayer2015-05-11
| | | | | | | | | | Previous version reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | id3v2: catch avio_read errors in check_tagAndreas Cadhalpun2015-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since len is an unsigned int, the comparison is currently treated as unsigned and thus ignores all errors from avio_read. Thus cast len to int, which is unproblematic, because at that point len is between 0 and 4. This fixes 'Conditional jump or move depends on uninitialised value' valgrind warnings in is_tag. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/avstring: Use size_t in av_strlcatf()Michael Niedermayer2015-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mov: Pass MovContext into mov_open_dref()Michael Niedermayer2015-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>