https://github.com/eVRydayVR/ffmpeg-unwarpvr

sort by:
Revision Author Date Message Commit Date
d3139c9 update for 2.1.4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 16:48:16 UTC
0909b8a avcodec/hevc: Simplify get_qPy_pred() Fixes use of uninitialized memory Fixes: 93728afd9aa074ba14a09bfd93a632fd-asan_static-oob_124a17d_1445_cov_1021181966_DBLK_D_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 64278039e55ffc88d231a8d760ecc257a120760a) Conflicts: libavcodec/hevc_filter.c 23 February 2014, 15:44:37 UTC
2368d08 Merge commit 'e22ebd04bcab7f86548794556c28ecca46d9c2ac' * commit 'e22ebd04bcab7f86548794556c28ecca46d9c2ac': hevc: Bound check cu_qp_delta Conflicts: libavcodec/hevc.c Merged-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a69dd1163b1a91978e596af551c9561d121aeedf) Conflicts: libavcodec/hevc.c 23 February 2014, 15:42:21 UTC
ea7ccf3 avcodec/mpeg4videodec: Check for bitstream overread in decode_vol_header() Fixes out of array read Fixes: 08e48e9daae7d8f8ab6dbe3919e797e5-asan_heap-oob_157461c_5295_cov_1266798650_firefing.mpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3edc3b159503d512c919b3d5902f7026e961823a) Conflicts: libavcodec/mpeg4videodec.c 23 February 2014, 15:36:01 UTC
846a9c6 avcodec/h264: use subsample factors of the used pixel format Fixes out of array read Fixes: 1cb91c36c4e55463f14aacb9bdf55b38-asan_heap-oob_106cbce_5617_cov_11212800_h264_mmx_chroma_intra_lf.mp4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8c55ff393340998faae887dfac19e7ef128e1e58) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 14:04:07 UTC
c8d363a avformat/bink: Check return value of av_add_index_entry() Fixes null pointer dereference Fixes: cdbf15cbd0a27cee958dd0b8800e452e-signal_sigsegv_737991_2083_cov_317652874_LBSTART.BIK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c57fc97e956a52edc94a38ff0ecd3058b44c15b7) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 14:03:03 UTC
d0d441b avcodec/h264: more completely check the loop filter parameters Fixes out of array read Fixes: caa65cc01655505705129b677189f036-signal_sigsegv_fdcc43_2681_cov_3043376737_PPH422I5_Panasonic_A.264 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 91253839e14cce9793ee93f184cef609ca8195d5) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 14:02:14 UTC
6341a70 avcodec/alsdec: check predictor order against block length Fixes out of array access Fixes: abd3c041acbcb816be113455d138166b-asan_heap-oob_b11634_3707_cov_1707137151_als_05_2ch48k16b.mp4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 18f94df8af04f2c02a25a7dec512289feff6517f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 14:00:02 UTC
7034e80 avcodec/hevc_ps: Use get_bits_long() in decode_vui() Fix assertion failure Fixes: a225222ef88a0f5b1e93e1d0432debc3-asan_static-oob_124a17d_1448_cov_77608227_DBLK_E_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b818637b84948e917d11c987f2270cea5b3fcfea) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:58:13 UTC
ce5d9a2 avcodec/hevc: make check for previous slice segment tighter This ensures the previous one is matching the curent and not just any Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 1a3ed056c523b4670e192301be15dbc521ec8353) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:53:59 UTC
aa672f5 avcodec/hevc: clear tab_slice_address of ctb on error. This allows us to detect which areas have failed to decode Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a18f11158216c22f4a69e44f8cbb59b300a7f10c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:53:23 UTC
b959e63 avcodec/hevc: hls_decode_entry: check that the previous slice segment is available before decoding the next Fixes use of uninitialized memory Fixes out of array read Fixes assertion failure Fixes part of cb307d24befbd109c6f054008d6777b5/asan_static-oob_124a175_1445_cov_2355279992_DBLK_D_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6ef57f4d9a0920c82237facb0d1f3856b17da9dc) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:51:46 UTC
69f99f8 avcodec/hevc: clear tab_slice_address in hevc_frame_start() Fixes inconsistencies Fixes use of uninitilaized memory Fixes part of cb307d24befbd109c6f054008d6777b5/asan_static-oob_124a175_1445_cov_2355279992_DBLK_D_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 56985d26d7054079cbe8865532c4a2cff123f596) Conflicts: libavcodec/hevc.c 23 February 2014, 13:51:22 UTC
e7b7e69 avcodec/h264: update current_sps & sps->new only after the whole slice header decoder and init code finished This avoids them being cleared before the full initialization finished Fixes out of array read Fixes: asan_heap-oob_f0c5e6_7071_cov_1605985132_mov_h264_aac__Demo_FlagOfOurFathers.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8a3b85f3a7952c54a2c36ba1797f7e0cde9f85aa) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:49:47 UTC
9330bcf avcodec/h264: Disallow pps_id changing between slices Such changes are forbidden in H.264 and lead to race conditions Fixes out of array read Fixes: signal_sigsegv_f9796a_1613_cov_3114610371_FM1_BT_B.h264 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e708424b70bef8641e8a090ec4d9e8c4490db87e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:49:37 UTC
9fb364b avcodec/aacdec: Fix pulse position checks in decode_pulses() Fixes out of array read Fixes: asan_static-oob_1efed25_1887_cov_2013541199_HeyYa_RA10_AAC_192K_30s.rm Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6e42ccb9dbc13836cd52cda594f819d17af9afa2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:49:29 UTC
d79419d avcodec/hevc: propagate error code from hls_coding_quadtree() Fixes use of uninitialized memory Fixes out of array read Fixes: asan_static-oob_123cee5_2630_cov_1869071233_PICSIZE_A_Bossen_1.bin Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 96c4ba2392b9cd55a5e84cb28db5c0c7e53cd390) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:48:30 UTC
ebc490e avcodec/tiff: reset geotag_count in free_geotags() Fixes null pointer dereference Fixes: signal_sigsegv_19d922e_3688_cov_1577641655_aletrek_tiff.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a744064c4155bde063b9e8a47699542be3b8e5eb) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:48:07 UTC
ab1c711 avcodec/vc1: Check bfraction_lut_index Fixes: out of array read Fixes: asan_static-oob_1b40507_2849_SA10143.vc1 Fixes: asan_static-oob_1b40a15_2849_cov_1182297305_SA10143.vc1 Fixes: asan_static-oob_1b40f15_2849_cov_2159513432_SA10143.vc1 Fixes: asan_static-oob_1b40f15_2849_cov_3230311510_SA10143.vc1 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit dcf5bfbdb6137ffdca66e0b7c2929ced42732951) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:47:46 UTC
10a30e4 avcodec/vc1: factor read_bfraction() out Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 388b4cf86ed5ec27d35eb5069769db12a4e31af0) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:47:41 UTC
9368b91 avcodec/vc1dec: field pictures with direct mode MBs, followed by frame pictures are not supported This case could occur when cuting and concatenating bitstreams Fixes out of array read Fixes: asan_heap-oob_1b33fdd_2849_cov_478905890_SA10143.vc1 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 85d51d8e327c666ac963acf25cf6a6763e6c6671) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:43:52 UTC
f22e88c avcodec/mjpegdec: pass into ff_mjpeg_decode_sos() and check bitmask size Fixes: heap array overread Fixes: asan_heap-oob_149b2bc_6577_m1.mxg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2884688bd51a808ccda3c0e13367619cd79e0579) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:43:28 UTC
e266fcf avformat/flac_picture: clear padding area aviod use of uninitialized memory Fixes: asan_heap-oob_1487fa4_4706_cov_364534849_cover_art.flac Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 13aa82bbbb71c04bdcecf1341be4a23aee271bec) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:43:18 UTC
c9b9617 avformat/flac_picture: allocate buffer padding for picture Fixes: heap array overread Fixes: asan_heap-oob_14876d9_4706_cov_815472558_cover_art.flac Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fff2953163ff466d5391b2f862bd2216fbe728b2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:43:07 UTC
a94f367 avcodec/snow: split block clipping checks Fixes out of array read Fixes: d4476f68ca1c1c57afbc45806f581963-asan_heap-oob_2266b27_8607_cov_4044577381_snow_chroma_bug.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 61d59703c91869f4e5cdacd8d6be52f8b89d4ba4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
18eac12 avcodec/ansi: fix integer overflow Fixes out of array read Fixes: 5f9698e86d92f19bb08d54ff0d57027f-signal_sigsegv_b30756_3795_cov_2693691257_ansi256.ans Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d42ec8433c687fcbccefa51a7716d81920218e4f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
4cc18ee avcodec/msrle: use av_image_get_linesize() to calculate the linesize Fixes out of array access Fixes: 14a74a0a2dc67ede543f0e35d834fbbe-asan_heap-oob_49572c_556_cov_215466444_44_001_engine_room.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c919e1ca2ecfc47d796382973ba0e48b8f6f92a2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
f8985cb avcodec/utils: set AVFrame format unconditional Fixes inconsistency and out of array accesses Fixes: 10cdd7e63e7f66e3e66273939e0863dd-asan_heap-oob_1a4ff32_7078_cov_4056274555_mov_h264_aac__mp4box_frag.mp4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e5c7229999182ad1cef13b9eca050dba7a5a08da) Conflicts: libavcodec/utils.c 23 February 2014, 13:28:10 UTC
656770e avcodec/hevc: make *ps_id unsigned Fixes integer overflow Fixes out of array accesses Fixes 2f65e7dbd02a12f426a423bd7bf880b4-signal_sigsegv_127c952_2793_cov_2517424539_RPLM_A_qualcomm_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d1e6602665d5ec1b7e211ab27b298c26139f82cc) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
4a28a3d avformat/mpegtsenc: Check data array size in mpegts_write_pmt() Prevents out of array writes Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 842b6c14bcfc1c5da1a2d288fd65386eb8c158ad) Conflicts: libavformat/mpegtsenc.c 23 February 2014, 13:28:10 UTC
f91ef98 avcodec/wmalosslessdec: fix mclms_coeffs* array size Fixes corruption of context Fixes: 8835659dde6a4f7dcdf341de6a45c6c8-signal_sigsegv_1dce67b_4564_cov_2504444599_classical_22_16_1_14000_v3c_0_extend_0_29.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ec9578d54d09b64bf112c2bf7a34b1ef3b93dbd3) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
a644272 samplefmt: avoid integer overflow in av_samples_get_buffer_size() CC:libav-stable@libav.org (cherry picked from commit 0e830094ad0dc251613a0aa3234d9c5c397e02e6) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
325feb8 avcodec/vc1: reset fcm/field_mode in non advanced header parsing Fixes NULL pointer dereference Fixes: signal_sigsegv_1ab8bf4_2847_cov_4254117347_SA10091.vc1 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b51e9354772de446e8196dabf9aad1567b22f74d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
8c6a976 avcodec/takdec: always check bits_per_raw_sample Fixes out of array access Fixes: asan_heap-oob_19c7a94_6470_cov_1453611734_luckynight-partial.tak Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f58eab151214d2d35ff0973f2b3e51c5eb372da4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 23 February 2014, 13:28:10 UTC
ac38860 Add decoder dependency to the HEVC parser. Fixes compilation with --disable-everything --enable-parser=hevc (cherry picked from commit d4a6133ab8ca1538d1d01fc187284fc99c6f6c90) 19 February 2014, 15:59:21 UTC
d0e0329 rtpdec_asf: Copy the need_parsing field from the chained demuxer This fixes playback of mp3 streams in rtp/asf. This used to work until 950482bf, but mostly by coincidence. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 2aec9e228cb317cca8cda9e03986c8482ea54404) Fixes ticket #3223 27 January 2014, 14:45:10 UTC
9ca79d2 avformat/matroskadec: Fix start_time Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 251c96a70b0d8cc729ded8c09c7b8bfe03f1a138) Fixes ticket #3337. 26 January 2014, 15:22:47 UTC
c5a2a65 lavf/libssh: fix seek with whence==SEEK_CUR Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> (cherry picked from commit e0d124a9209f44a34e812fb26ba581552b55a731) Conflicts: libavformat/libssh.c 22 January 2014, 00:36:31 UTC
a8ed368 avcodec/jpeg2000dec: fix error detection in pix_fmt_match() Fixes out of array accesses with CODEC_FLAG_EMU_EDGE Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8001e9f7d17e90b4b0898ba64e3b8bbd716c513c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:59:12 UTC
32262ca avcodec/vmnc: Check that rectangles are within the picture Prevents out of array accesses with CODEC_FLAG_EMU_EDGE Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6ba02602aa7fc7d38db582e75b8b093fb3c1608d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:59:06 UTC
5f56e49 avcodec/apedec: more checks for k Fixes assertion failure Fixes part of msan_uninit-mem_7fa0d8c8bd58_8417_sh3.ape Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d5128fce38646d3f64c55feda42084888ba0e87e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
fedbba5 avformat/rmdec: move packet allocation down Fixes memleak Fixes: msan_uninit-mem_7fc5d73327d4_6192_kuerti.ra Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 165f96cd2d687122748f862a0bc6e9908fe3d5d2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
d35916f avformat/mpegts: check sl.timestamp_len Fixes: msan_uninit-mem_7ff4404547ba_4883_dmbts.ts Fixes assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e630ca5111077fa8adc972fe8a3d7e2b3e8dc91f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
94e2673 avformat/ape: free packet on avio_read() failure Fixes memleak Fixes: msan_uninit-mem_7fcc198b365b_8417_sh3.ape Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 459db51271807ba26162db7b67ac1ff444cc0fa9) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
23ae7bf dnxhdenc: fix mb_rc size Fixes out of array access with RC_VARIANCE set to 0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f1caaa1c61310beba705957e6366f0392a0b005b) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
9e8464e Merge commit '9eef9eb3014b2ed9c3ff4aac510a9f04edb555cf' * commit '9eef9eb3014b2ed9c3ff4aac510a9f04edb555cf': h264: check that execute_decode_slices() is not called too many times Conflicts: libavcodec/h264.c The check is replaced by an assert() as the mb index should not ever go out of bounds. Merged-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 64591f8f86f2dfeac13ee6b4e971d069675ca814) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
c9a8dfa Merge commit '6892d145a0c80249bd61ee7dd31ec851c5076bcd' * commit '6892d145a0c80249bd61ee7dd31ec851c5076bcd': segafilm: fix leaks if reading the header fails Conflicts: libavformat/segafilm.c See: ca5456db7fa62a81d8effa20fb7547c16dd1d796 Merged-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2a58d5fc0e842ebc9a47523a8c3418580b40b4be) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
e6299a4 cmdutils: update year Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 21 January 2014, 15:42:32 UTC
ee3822a Allow decoding of slightly broken Nikon avi files. Fixes ticket #3330. (cherry picked from commit f9c2d4d17e3b18becb046d71811f9e8aa5946cf9) 20 January 2014, 21:37:18 UTC
fc5261c lavfi/dualinput: fix shortest option. Fix trac ticket #3315. (cherry picked from commit 2dc5980d61493e05ccb04271a685fe804d87b155) 20 January 2014, 21:28:01 UTC
30a94f1 avcodec/mjpegdec: Dont skip picture allocation if theres no picture allocated Fixes Ticket 3245 (cherry picked from commit ad8d063f230c05f8b5efbd05cc5a9f51a2549dcf) 20 January 2014, 21:26:00 UTC
9d83cff avcodec/aacdec: Dont fail if channels arent known yet Fixes Ticket3312 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 676a395ab903cac623c5d6ddd0928c789e08a59e) 19 January 2014, 13:28:18 UTC
756cd1a avcodec/mjpegdec: Dont treat the lack of a startcode differently from end of the bitstream Fixes Ticket3303 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 31e703e899bee74c50efd8eb62c3d012ef5ab26d) 19 January 2014, 13:27:56 UTC
83dc8f0 avcodec/mjpegdec: only run EOI emulation code when there was a scan Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 361e27a3d8096baacc45d2551a1ebfcbfdaa6a67) 19 January 2014, 13:27:48 UTC
2c5c6af avcodec/mjpegdec: update cur_scan also for non-LS jpeg This should make no difference but the variable will be used in a subsequent commit Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8893f31e206358d933abe4a5227b5ae89f5f303d) 19 January 2014, 13:27:40 UTC
f4e0516 Fix libxvid crash on failing initialisation. Fixes ticket #3297. (cherry picked from commit ee3fc8aa864f6d95356a7d9d03536e2b12b891c5) 19 January 2014, 13:26:15 UTC
2f4b781 Do not read mkv audio bit_depth if bits_per_coded_sample is already set. This allows decoding broken mkv files containing G.726 audio. (cherry picked from commit 11329370770e5c982deece7d4eb4f2e95e725332) 15 January 2014, 23:26:00 UTC
0d45e82 Do not set mkv bit_depth to av_get_bytes_per_sample() for G.726. The value is wrong and leads to broken files. (cherry picked from commit 565102dcac4959da60e6b1528dc31315d21194ca) 15 January 2014, 23:25:34 UTC
eda6eff Update for 2.1.3 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 15 January 2014, 17:29:16 UTC
4590061 library.mak: only run asm strip if ASMSTRIP flags are set Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e975c147e18010a9f96f56b21d0cd0f026eaae0e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 14 January 2014, 00:14:43 UTC
16e49d8 configure: remove code that disables striping in the absence of some flags This prevents breaking (non asm) striping in that case Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 191454f26e5a2f5026fef9a25df6d61c2a06615c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 14 January 2014, 00:03:48 UTC
bfdfead build sys: rename STRIPFLAGS to ASMSTRIPFLAGS This more closely matches the actual use, also we use plain strip without these flags for striping Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e283c26c35c4f18c8eb2e79183037a883b12d1e5) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 14 January 2014, 00:03:48 UTC
7ae6229 Merge commit '0673ede985a6560e7efb86dab1c58fb7f95ce587' * commit '0673ede985a6560e7efb86dab1c58fb7f95ce587': configure: add strip flags checks Merged-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 71b95f2ab603ea607bc1b930fcfc3974b40ba484) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 14 January 2014, 00:02:28 UTC
2156d9b avformat/utils/av_probe_input_buffer2: fix buffer passed to ffio_rewind_with_probe_data() Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 05886c9d4edddb07a4cdc6afee8b30cd9c80b4db) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 23:32:02 UTC
0a055cc avformat/utils/av_probe_input_buffer2: fix offset check The check could fail if avio_read() read less than requested Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8c3b026a0eeb49464d957b61b0c01cceecc416fd) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 23:32:01 UTC
c8d43c2 avformat/utils/av_probe_input_buffer2: Fix pd.buf_size Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6a2064820b52568c05a9ec8f418f18840e7c43cc) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 23:32:00 UTC
d9b7557 avcodec/libxavs: 2nd attempt to fix compilation after b18c7c8d. (cherry picked from commit 260fc0d95b025b03b2a15116526e4c83b1ca1a31) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 23:29:13 UTC
15d7b7d avcodec/libxavs: attempt to fix compilation after b18c7c8d. (cherry picked from commit 71cd83e34cf7ba88d766434e3d2b4d99c14bf0f2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 23:29:09 UTC
29353dd Update for 2.1.2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 16:21:42 UTC
b336daa Fix a crash on oom when decoding hevc. (cherry picked from commit 5ab1efb9d0dc65e748a0291b67915e35578b302e) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 16:20:19 UTC
a0aa5c3 avcodec/hevc: Check entry point arrays for malloc failure Fixes null pointer dereference Fixes: signal_sigsegv_e1d3b6_2192_DBLK_F_VIXS_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 22bfb4be284c12f33b9dac010713fe3ca6d974bf) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:17:08 UTC
d634763 hevc: Bound check slice_qp The T-REC-H.265-2013044 page 79 states they have to be into the range [-s->sps->qp_bd_offset, 51]. Fixes: asan_stack-oob_eae8e3_9522_WP_MAIN10_B_Toshiba_3.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit aead772b5814142b0e530804486ff7970ecd9eef) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:17:04 UTC
39545c5 hevc: Reject impossible dependent tile The tile 0 cannot depend on a previous one. Prevent an out of array bound load in ff_hevc_cabac_init(). Fixes: asan_heap-oob_e3a924_1630_DBLK_A_MAIN10_VIXS_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Guillaume Martres <smarter@ubuntu.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 48a5b155433ed7af20fb0a5c20ca131958727727) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:16:58 UTC
e43805d hevc: remove useless clip in FUNC(sao_band_filter)() The src buffer should only contain values in the interval [0, (1 << BIT_DEPTH) - 1]. Since shift = (BIT_DEPTH - 5), src[x] >> shift must be in the interval [0, 31], so no clip is needed. This removes the code that was changed in 5856bca360c5bc3e340a357d91b1f993c80a7bea as the clip that was repositioned in that commit is removed Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b00a8b4d194f1bf23343f3f42138affa1fe26641) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:15:07 UTC
ea21b7b hevc: clip pixels when transquant bypass is used Fixes: asan_stack-oob_eae8e3_7333_WPP_B_ericsson_MAIN10_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind This is a more proper fix than 5856bca360c5bc3e340a357d91b1f993c80a7bea The reconstructed picture should always be clipped (see section 8.6.5), previously we did not clip coding units where cu_transquant_bypass_flag == 1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c9fe0caf7a1abde7ca0b1a359f551103064867b1) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:12:17 UTC
738a2a0 hevc: Clip the pixel before shifting Prevent an out of array bound read. Fixes: asan_stack-oob_eae8e3_7333_WPP_B_ericsson_MAIN10_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5856bca360c5bc3e340a357d91b1f993c80a7bea) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:12:01 UTC
706dca1 avcodec/hevc: use av_mallocz() for allocating tab_ipm Fixes use of uninitialized memory and out of stack array read Fixes: signal_sigsegv_ecc526_7846_WPP_C_ericsson_MAIN_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 0999f1613bc48ed9d6578a3ad7bcd17610e07fbf) Conflicts: libavcodec/hevc.c 13 January 2014, 15:11:50 UTC
b3c3dc5 avcodec/alac: only set *got_frame_ptr when all channels have been decoded Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f8b64436530_7895_quicktime_newcodec_applelosslessaudiocodec.m4a Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e11983bda073f8c63f60509ee753da9fba20ed10) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:10:34 UTC
b6af89b avformat/pjsdec: dont increase pointer when its already at the end in read_ts() Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f91f2de7764_2649_PJS_capability_tester.pjs Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b84a7330af41cec93384bf59ed68c67b09d105cd) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:10:30 UTC
57824d1 avcodec/wmalosslessdec: shrink output on error so no uninitialized data is returned Fixes use of uninitialized memory partly fixes: msan_uninit-mem_7f7834b6a530_6473_luckynight-partial.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6b18a6839b43ea78e70cd3e35f781d1c955bda73) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:10:25 UTC
cd753ee avcodec/wmalosslessdec: deallocate uninitialized frame on decode_tilehdr() failure Fixes use of uninitialized memory partly fixes: msan_uninit-mem_7f7834b6a530_6473_luckynight-partial.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ae3856dcaf9c5ef339969c95a72bcaf7c4bba9ec) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:10:12 UTC
aaaafc3 avcodec/wmalosslessdec: Pass on error code from decode_tilehdr() Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 03fff09b32171e0c76d104c02ebf578c7f4fe21d) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:10:09 UTC
6da213c avformat/matroskadec: check generic audio deinterleaver sub_packet_size against frame_size Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f67d052a530_7517_nosound.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a1ed1c2193483849df689b105bec0d26c2497999) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:09:26 UTC
763a808 avformat/flvdec: initialize context before reading from it Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f9b8387069e_5377_flv_with_pcm_s16be_audio_track.flv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 396ddcf22d55fa7e735d69eed22a4a4b1649b73c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:09:22 UTC
4f3b0af avformat/mxfdec: check avio_read(UID) result Fixes use of uninitialized memory Fixes: msan_uninit-mem_7fc9ba2fd98e_82_02785736.mxf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 4162ceea93684f3cd656dc21d30903e102a44e73) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:09:15 UTC
050d8d7 avformat/rmdec: when reading audio blocks, dont leave holes when reading fails The fate test is changed because the reference file depends on the use of non cleared data at the very end. Alternatively we could upload a new reference file, though that would then have to be changed every time the handling of a truncated frame changes or theres a change to error concealment, each time adding a new file ... Fixes use of uninitialized memory Fixed: msan_uninit-mem_7f3c02b81363_2787_RLG2_19.rm Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 77d2a1ca595ebe082d35c4b624ac9a9145991494) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 13 January 2014, 15:08:26 UTC
6fb0f37 avcodec/h264: fix code that blindly dereferences NULL DPB Fixes mixed flushing and decoding NULL packets Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d9339ab55373b12f078a3e3f1e294d8ff78652dd) Conflicts: libavcodec/h264.c 13 January 2014, 15:06:13 UTC
70028e9 vdpau: restore compatibility with deprecated fields in AVVDPAUContext Fixes ticket #3133. Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com> Tested-by: EricV Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 23bc1351ad7db698da9348e23ee63ec7300a881d) 10 January 2014, 23:21:06 UTC
6ce835d Fix libopenjpeg colour range adjust for 8<bpp<16. Fixes ticket #3284. Reviewed-by: Michael Bradshaw (cherry picked from commit 8298b54179c92fc3293ea312c4fcf153917bca0a) 10 January 2014, 13:07:36 UTC
d45a724 avcodec/msvideo1enc: fix SKIPS_MAX Fixes Ticket3270 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fb8f5d0510619cea2204246631f1c0dcd994ee25) 09 January 2014, 10:43:21 UTC
a48440d Use the h264 parser when decoding VSSH in avi. Fixes ticket #3261 visually. Analyzed-by: Michael Doilnitsyn (cherry picked from commit 94cf4f8bac12c58e30ce3b5d72cf5898baafe9a8) 08 January 2014, 09:19:52 UTC
de14fe7 avformat/mxfdec: detect loops during header parsing The header parser uses forward and backward parsing, making the bulletproof prevention of loops difficult, thus this simple detection code. If someone improves the forward/backward parsing so it cannot loop then this commit should be reverted Fixes Ticket3278 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 1c010fd035c1a14dc73827b84f21f593e969a5d6) 08 January 2014, 09:19:36 UTC
580d3ef avformat/mov: Check that we have a stream before accessing it in mov_read_ares() Fixes out of array read Fixes: signal_sigsegv_6f1855_3910_avid_test_alpha.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a7f27453f64d9020b92b01687baeb5909c6cdad0) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:25:25 UTC
2864c98 avformat/ipmovie: check OPCODE_INIT_VIDEO_BUFFERS size more completely Fixes use of uninitialized data Fixes: signal_sigsegv_1571228_5930_ipmovie_interplayvideo_interplay_dpcm__bislogo.mve Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2e97e244097c309571b383dd107252404ebb3326) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:25:20 UTC
d1a9195 avcodec/mjpegdec: check len in mjpeg_decode_app() more completely Avoids len from becoming negative and causing assertion failure Fixes: signal_sigabrt_7ffff7126425_5140_fd44dc63fa7bdd12ee34fc602231ef02.jpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6060234d43dcf0b5200cdd7dbd2f1542146827eb) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:25:07 UTC
898ab02 avformat/avidec: Dont assert the existence of an index for video streams. Its possible in various rare cases that an index cannot be created or allocated. Fixes assertion failure Fixes: signal_sigabrt_7ffff7126425_7712_pokem.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 7865759409b27089b444bc029b2b76b06161b2cf) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:25:02 UTC
69aa3d5 avcodec/hevc: clear HEVClc when its deallocated in hevc_decode_free() Fixes reading freed memory Fixes: asan_heap-uaf_1abf8ef_3987_NUT_A_ericsson_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 21a2fb7e0579703fdea96f659498ef8b1f243289) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:23:49 UTC
dcecca0 avutil/log: check that len is within the buffer before reading it Fixes out of array read Fixes: asan_heap-oob_19d6979_6857_mmw_deadzy.ogg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 808c10e728db2d92ccbb0f8b3bcd4a2f4305a2cf) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:23:43 UTC
413065a avcodec/g2meet: check available space before copying palette Fixes out of array read Fixes: asan_heap-uaf_ae6067_5415_g2m4.wmv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6d9dad6a7cb5d544d540abf941fedbd34c14d2bd) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:23:35 UTC
c094aec avcodec/ac3dec: check bap before use. Fixes out of array read Fixes assertion failure Fixes asan_static-oob_16431c0_8036_rio_bravo_mono_64_spx.ac3 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 4782c4284fa3856a9b6910fe5ff6e4fb1c65b58c) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 07 January 2014, 23:23:23 UTC
back to top