aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/libx264: Set colorspace details correctlyTorsten Jager2013-12-161-1/+9
| | | | | | After adding colorspace support to xine-lib, I insist in proper settings within media files at least when they do not follow that implicit SD/HD routine.
* avcodec/mlpdec: check that streamtype matches the codecMichael Niedermayer2013-12-161-0/+12
| | | | | | | Fixes use of uninitialized memory Fixes msan_uninit-mem_7f126c8ed1ac_5945_issue1731_nonpublic.mpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/wmalosslessdec: completely initialize contains_subframeMichael Niedermayer2013-12-161-3/+3
| | | | | | | Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f60c46325d7_6415_luckynight.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/psxstr: zero packet to prevent uninitialized data to leak through ↵Michael Niedermayer2013-12-161-0/+1
| | | | | | | | to the decoder Fixes: msan_uninit-mem_7f150abf2e84_4817_descent-partial.str Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86/rgb2rgb_template: try to fix build failure with avx disabledMichael Niedermayer2013-12-161-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpeg12dec: Don't create side data when current picture ptr is NULL.Tomer Barletz2013-12-161-1/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* configure: (vp9) ensure bitstream compatibilityJames Zern2013-12-161-1/+1
| | | | | | | avoids picking up a library that could produce invalid bitstreams and fixes build issues with the same. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale: NEON optimized unscaled rgba to nv12 conversionYu Xiaolei2013-12-167-0/+577
| | | | | Signed-off-by: Yu Xiaolei <dreifachstein@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/id3v2: Check avio_read() return value in read_chapter()Michael Niedermayer2013-12-151-1/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/id3v2: factor free code to the end of read_chapter()Michael Niedermayer2013-12-151-4/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpegts: stop analyzing when pmt for all programs have been foundJoakim Plate2013-12-151-9/+45
| | | | | | | | | | | | | | This disables NOHEADER after finding PMT for all programs to avoid find_stream_info always exhausting probe size for mpegts. This is very important for live streams since read speed will be limited. rtsp, udp and any protocol streaming a live mpegts will have dramatically faster startup time. Note, lack of codec parameters for streams can still cause the full probe size to be exhausted. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/utils: limit rfps to values larger than fpsMichael Niedermayer2013-12-152-0/+7
| | | | | | This avoids some nonsense values being produced by totally corrupted input Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vformat/id3v2: check avio_read for short reads in addition to errorsMichael Niedermayer2013-12-151-2/+2
| | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding: check av_samples_get_buffer_size() for a ↵Stefano Sabatini2013-12-151-1/+1
| | | | | | negative value Fix broken != 0 check.
* doc/muxers/tee: add example showing second level escapingStefano Sabatini2013-12-151-0/+9
|
* doc/muxers/tee: use @ref to reference other sectionsStefano Sabatini2013-12-151-5/+8
|
* lavf/mux: improve feedback in case of no streams in muxerStefano Sabatini2013-12-151-1/+1
|
* avformat/oggparsetheora: zero extradata padding areaMichael Niedermayer2013-12-151-0/+2
| | | | | | | Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f66fa0ac09d_9197_theora_a4_v6_k250_s0.ogg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/bink: use av_mallocz for dataMichael Niedermayer2013-12-151-1/+1
| | | | | | | Fixes use of uninitialized memory Fixes msan_uninit-mem_7fe8a5fd759d_2838_SPECTRE.BIK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/id3v2: Check avio_read() return code in id3v2_parse()Michael Niedermayer2013-12-151-2/+4
| | | | | | | Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f5a04a9b50d_7087_mp3__mp3__tooSmallFinal.mp3 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/utils: check chroma width for fast bilinear scalerMichael Niedermayer2013-12-151-1/+2
| | | | | | Fixes artifacts where fast bilinear was used for downscaling chroma Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/utils: remove useless ()Michael Niedermayer2013-12-151-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/utils: factor (d + 1 < 4) outMichael Niedermayer2013-12-151-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/msmpeg4dec: initialize dir_ptr in error casesMichael Niedermayer2013-12-151-0/+2
| | | | | | | Fixes use of uinitialized memory Fixes: msan_uninit-mem_7f01b8799186_7278_msnaudio.asf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/msmpeg4dec: print error in case of invalid vlc in msmpeg4_decode_dc ↵Michael Niedermayer2013-12-151-1/+3
| | | | | | for version <=2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: update after 5f6c21117f23a3c825777cdb0565a21c5a468d35Michael Niedermayer2013-12-153-0/+48
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffprobe: show best_effort_timestamp in the frame sectionwm42013-12-159-42/+158
| | | | | | | | This is useful for debugging. Reference and ffprobe.xsd changes done and tested by Stefano Sabatini. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* Enable parser in FLV demuxer for H264 codecAlex Sukhanov2013-12-151-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/utils: treat flv like mov with timestamp discardingMichael Niedermayer2013-12-151-1/+2
| | | | | | This prevents a regression when using an avparser with flv h264 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'cus/stable'Michael Niedermayer2013-12-151-31/+24
|\ | | | | | | | | | | | | | | | | | | * cus/stable: libzvbi-teletextdec: set bitmap teletext canvas dimensions libzvbi-teletextdec: add chopped top row size to y offset libzvbi-teletextdec: use defined constants for bitmap char width and height libzvbi-teletextdec: cosmetics Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libzvbi-teletextdec: set bitmap teletext canvas dimensionsMarton Balint2013-12-141-0/+5
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
| * libzvbi-teletextdec: add chopped top row size to y offsetMarton Balint2013-12-141-1/+1
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
| * libzvbi-teletextdec: use defined constants for bitmap char width and heightMarton Balint2013-12-141-5/+7
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
| * libzvbi-teletextdec: cosmeticsMarton Balint2013-12-141-25/+11
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/iff: fix memleak of packetMichael Niedermayer2013-12-151-1/+3
| | | | | | | | | | | | Fixes: msan_uninit-mem_7f65b9788da6_388_24.iff Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/iff: shrink packets to the initialized dataMichael Niedermayer2013-12-151-0/+2
| | | | | | | | | | | | | | Fixes use of uninitialized data Fixes: msan_uninit-mem_7f65b9788da6_388_24.iff Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/svq3: cleanup context in case init failsMichael Niedermayer2013-12-151-16/+28
| | | | | | | | | | | | | | | | Fixes memleaks Fixes: msan_uninit-mem_7ff57193e77e_2715_RAW512K_Stream_004.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mov: Check avio_read() return code in mov_read_extradata() and ↵Michael Niedermayer2013-12-151-1/+7
| | | | | | | | | | | | | | | | | | shrink the extradata if needed / return an error Fixes use of uninitialized data Fixes: msan_uninit-mem_7ff57193e77e_2715_RAW512K_Stream_004.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-141-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtpdec_h264: Check the return value of functions doing allocations See: c5f15f40b9b25f033fd9e8dd1e12763913098c11 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | rtpdec_h264: Check the return value of functions doing allocationsMichael Niedermayer2013-12-141-4/+8
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | | Merge commit '6451c8853a07ff2e28bda950fb5e83fcf88c5cf4'Michael Niedermayer2013-12-141-8/+7
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '6451c8853a07ff2e28bda950fb5e83fcf88c5cf4': sdp: Check theora colorspace before producing the configuration string See: db8a53d86a71c948bd41dd12d1ff1d3351ec2746 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | sdp: Check theora colorspace before producing the configuration stringMartin Storsjö2013-12-141-7/+7
| | | | | | | | | | | | | | | | | | | | | This avoids a memory leak (or having to worry about freeing the config string) if the colorspace isn't accepted. Signed-off-by: Martin Storsjö <martin@martin.st>
* | | Merge commit '797f2a791397210ec1b591b326658805c5dbf104'Michael Niedermayer2013-12-141-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '797f2a791397210ec1b591b326658805c5dbf104': hdsenc: Check the init_file() return code hdsenc: Fix an off by one error in an array size check hdsenc: Avoid integer overflow Conflicts: libavformat/hdsenc.c See: 572965c9a6b8173d918dea392aadfee1d44d7f47 See: 3dbf9afe857d480993786bea0ede9dd9526776d2 See: 6722e564a82bac471d92b02550b5017c09b539ba Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | hdsenc: Check the init_file() return codeMichael Niedermayer2013-12-141-1/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | hdsenc: Fix an off by one error in an array size checkMichael Niedermayer2013-12-141-1/+1
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * | hdsenc: Avoid integer overflowMichael Niedermayer2013-12-141-1/+1
| | | | | | | | | | | | | | | | | | Also remove a silly leftover pair of parentheses. Signed-off-by: Martin Storsjö <martin@martin.st>
* | | Merge commit '5db4e88ecd32485341f6150c00f5ee5bfa74f62d'Michael Niedermayer2013-12-141-1/+1
|\| | | | | | | | | | | | | | | | | | | | * commit '5db4e88ecd32485341f6150c00f5ee5bfa74f62d': configure: Detect Solaris libc in an OpenIndiana/illumos compatible way Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | configure: Detect Solaris libc in an OpenIndiana/illumos compatible wayDiego Biurrun2013-12-141-1/+1
| | |
* | | avformat/ipmovie: Check OPCODE_CREATE_TIMER sizeMichael Niedermayer2013-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f81e836ef8c_5930_ipmovie_interplayvideo_interplay_dpcm__bislogo.mve Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | doc/bitstream_filters: remove mp3_header_decompress filterStefano Sabatini2013-12-141-2/+0
| | | | | | | | | | | | It was removed in commit c6080d89009056530119ab794ad02e4d515c7754.