commit_msg
stringlengths
1
24.2k
commit_hash
stringlengths
2
84
project
stringlengths
2
40
source
stringclasses
4 values
labels
int64
0
1
repo_url
stringlengths
26
70
commit_url
stringlengths
74
118
commit_date
stringlengths
25
25
avcodec/mlz: Check offset before writing Fixes: 0cee183a09bff5aa5108429717c35a4d/asan_heap-oob_1d99eca_3702_9ef60e80de79082a778d3d9ce8ef3b64.mp4 Affects no release Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c0fc83ed41edec476c1b9601e1bc0177967ce206
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c0fc83ed41edec476c1b9601e1bc0177967ce206
2016-09-08 20:31:15+02:00
avconv: Check that muxing_queue exists before reading from it This avoids a segfault on nonexisting codec names.
e46a6fb7732a7caef97a916a4f765ec0f779d195
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e46a6fb7732a7caef97a916a4f765ec0f779d195
2016-07-27 10:59:48+02:00
avconv_dxva2: add a profile check for hevc Signed-off-by: Anton Khirnov <[email protected]>
da917fcf5183ed249ad1285b8edd330f421376c4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da917fcf5183ed249ad1285b8edd330f421376c4
2016-07-20 16:33:09+02:00
h264: fix the check for mixed IDR/non-IDR slices
d1d7678040cd60148f97b372cb4291bcc45b2e22
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1d7678040cd60148f97b372cb4291bcc45b2e22
2016-06-21 11:19:19+02:00
avformat/segment: remove the check_bitstream from segment because the BSF logic was re-factored into a shareable function and both av_write_frame and av_interleaved_write_frame use it it Signed-off-by: LiuQi <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
e29d2d9c92e19b0caf05a2064d132ccdecdfc3d5
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e29d2d9c92e19b0caf05a2064d132ccdecdfc3d5
2016-07-14 21:33:19+02:00
hevc: set profile based on the profile compatibility flags if needed This fixes retrieving a valid profile for many of the FATE conformance samples, allowing them to be properly decoded by the HWAccel after adding a profile check. Signed-off-by: Anton Khirnov <[email protected]>
1ecb63cd1c1a4ddc5efed4abbc3158b969d8c5e4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1ecb63cd1c1a4ddc5efed4abbc3158b969d8c5e4
2016-07-20 16:33:09+02:00
h264: move the block starting a new field out of slice_header_parse() There is no bitstream parsing in that block and messing with decoder-global state is not something that belongs into header parsing. Nothing else in this function depends on the value of current_slice, except for two validity checks. Those checks are also moved out of slice_header_parse().
8d36932c8d33f93ce1afdd5c1f402e7b6655d5ae
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8d36932c8d33f93ce1afdd5c1f402e7b6655d5ae
2016-06-21 11:08:03+02:00
avfilter/af_hdcd: Use int32_t instead of int for gaintable in hdcd filter. Signed-off-by: Benjamin Steffes <[email protected]> (comment by ronald) prevent the theoretical case where the container type (int) would be 64 bit on some platforms, which would waste some space Signed-off-by: Michael Niedermayer <[email protected]>
5b95b4616aae7f37a57571aa48ea780a98a40137
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5b95b4616aae7f37a57571aa48ea780a98a40137
2016-06-15 14:30:50+02:00
avfilter/vf_fieldhint: Assert that mode is valid Its checked by the AVOption code Fixes CID1355122 Fixes CID1355121 Signed-off-by: Michael Niedermayer <[email protected]>
7ae4d574e87364620ac1832e538650af0bf6bf11
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7ae4d574e87364620ac1832e538650af0bf6bf11
2016-05-29 14:49:27+02:00
h264: remove pointless setting of some variables in loop_filter Those should already be set to the correct values.
4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69
2016-04-24 10:06:25+02:00
avcodec/dca_lbr: explicitly initialize structs with zero This fixes build on MSVC and conforms to the usual init style used.
27506aceda8115f82f89691a4441d62a8cf24a6e
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/27506aceda8115f82f89691a4441d62a8cf24a6e
2016-05-11 16:34:57+02:00
avcodec/dca: fix sync word search error condition This didn't actually check if sync word was found and always errored out with "-err_detect explode" option enabled. Signed-off-by: Michael Niedermayer <[email protected]>
ce2f9fdb0a92956aedfa2c564d1374a2f1eebfbd
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce2f9fdb0a92956aedfa2c564d1374a2f1eebfbd
2016-05-02 23:26:44+02:00
vc1dec: wmv2dec: Validate ff_intrax8_common_init return value
d909f43b5c773a73c8d526638744547ba4aa8c59
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d909f43b5c773a73c8d526638744547ba4aa8c59
2016-03-22 17:33:32-04:00
tests/checkasm/vf_colorspace: Make bpp_mask const Signed-off-by: Michael Niedermayer <[email protected]>
3c0511f29e9e775c709a8e7e9c8c9729724a8b65
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c0511f29e9e775c709a8e7e9c8c9729724a8b65
2016-04-13 22:39:41+02:00
h264: factor out calculating the POC count into a separate file This will allow decoupling the parser from the decoder.
c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8
2016-04-24 10:06:24+02:00
avformat/allformats: Making av_register_all() thread-safe. When multiple threads tries to call av_register_all(), the first thread sets initialized to 1 and do the register process. At the same time, other thread might also call av_register_all(), which returns immediately because initialized is set to 1 (even when it has not completed registering codecs). We can avoid this problem if we set initialised to 1 while exiting from function. Github: Closes #196
b092ee701f4d0ef2b8a4171cd38101d1ee9a1034
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b092ee701f4d0ef2b8a4171cd38101d1ee9a1034
2016-06-05 23:48:12+02:00
avfilter/vf_vectorscope: make it possible to override colorspace Signed-off-by: Paul B Mahol <[email protected]>
4a7c705fde1a25cc3dd4ffcb56e3b4acf12dea41
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4a7c705fde1a25cc3dd4ffcb56e3b4acf12dea41
2016-03-13 00:17:29+01:00
configure: Use lowercase includes/library names for schannel check. Fixes cross-build on Linux with mingw-w64. Reviewed-by: Reimar Döffinger Reviewed-by: Hendrik Leppkes
fa3eecf9ab6e20c1c74554fc2eb8b8e4245935b4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fa3eecf9ab6e20c1c74554fc2eb8b8e4245935b4
2016-03-16 09:20:39+01:00
checkasm: Add vf_blend tests
a953a2991e28de6d476420f7f8ae316599a83ac1
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a953a2991e28de6d476420f7f8ae316599a83ac1
2016-02-14 10:46:56-08:00
libx264: Fix noise_reduction option assignment First check the context, then check internal option. Drop the ! typo. Introduced in 60f0fde3092d18d4d36555962c192af8691a099c.
0837d1dfe28f8c461e23404ecb11b0bde1d16af2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0837d1dfe28f8c461e23404ecb11b0bde1d16af2
2016-02-22 19:06:48-05:00
x86: add some more helper macros to check for slow cpuflags Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
73a4589d4b0d97cbd6f8bf8be18b78151b657898
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/73a4589d4b0d97cbd6f8bf8be18b78151b657898
2016-02-14 20:00:17-03:00
avfilter/avf_showfreqs: assert that variables are initialized by switch() Silences: CID1351396 Signed-off-by: Michael Niedermayer <[email protected]>
43bf15d1a425b99182820332ffdf5329773b319a
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/43bf15d1a425b99182820332ffdf5329773b319a
2016-02-12 00:37:11+01:00
avformat/libquvi: Set default demuxer and protocol limitations Signed-off-by: Michael Niedermayer <[email protected]>
15cc98a0f38ac45444d177186cfbf28e14bd5f1f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/15cc98a0f38ac45444d177186cfbf28e14bd5f1f
2016-01-23 00:12:54+01:00
AAC encoder: check for NaNs/inf in TNS gain Can happen in cases where's there's zero autocorrelation (pulses), and it also implies NaN/inf coeffs
adc7d2a4ce8ff09431d22441b1a41f1cc9dff0e4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/adc7d2a4ce8ff09431d22441b1a41f1cc9dff0e4
2016-01-21 03:47:28-03:00
configure: Use pkg-config to check for openssl
8fd361f53b3c17c1ae13a39e030c8fa3ab4d8f1f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8fd361f53b3c17c1ae13a39e030c8fa3ab4d8f1f
2016-01-19 20:47:49+01:00
decklink: support all valid numbers of audio channels As it is already written in the documentation, BMD DeckLink cards are capable of capturing 2, 8 or 16 audio channels (for SDI Inputs). Currently the value is hardcoded to 2. Introduces new option. Reviewed-by: Deti Fliegl <[email protected]> Signed-off-by: Matthias Hunstock <[email protected]> Signed-off-by: Marton Balint <[email protected]>
e9025573faf69416fcc29a689447e3296c3eaf58
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e9025573faf69416fcc29a689447e3296c3eaf58
2016-02-03 00:34:26+01:00
checkasm: add tests for dcadsp
e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d
2015-12-21 17:40:18+01:00
avformat/hlsenc: Check the return code of avformat_write_header() Fixes: segfault Fixes: Ticket5067 Signed-off-by: Michael Niedermayer <[email protected]>
c62d1780fff8a1997dd1707bbc557efc8fe41e3c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c62d1780fff8a1997dd1707bbc557efc8fe41e3c
2015-12-13 02:28:13+01:00
swscale/swscale_unscaled: Fix odd height inputs for bayer_to_yv12_wrapper() Fixes: 372d2df1f04b49e25f109f07f90b1505/asan_heap-oob_2835d2e_8501_99e0114d7ba3a6db885d0b4684d200c1.cine Fixes out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
757248ea3cd917a7755cb15f817a9b1f15578718
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/757248ea3cd917a7755cb15f817a9b1f15578718
2016-01-17 01:19:43+01:00
AAC encoder: in IS, fix index of sf_idx, band_type Correct addressing of sf_idx and band_type arrays in I/S code. Both arrays don't guarantee valid values for subwindows at all times, depending on which coder is being used, which could result in reading of garbage values. Instead, only the first subwindow in the window group has to be used, ie: use w*16+g instead of (w+w2)*16+g
4dcb69cc12d00d46f93a07178e2087a8d27c8f64
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4dcb69cc12d00d46f93a07178e2087a8d27c8f64
2016-01-13 05:28:34-03:00
sgienc: Make sure to initialize skipped header portions Fix fate tests with asan. Introduced during bytestream2 porting (in revision 62cc8f4d79dad119e8efeaae080a58a8dcb1e89d). Signed-off-by: Vittorio Giovara <[email protected]>
c34df422628e6b7b657faee241fe7bb2629e0f57
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c34df422628e6b7b657faee241fe7bb2629e0f57
2015-12-07 11:27:42-05:00
avcodec/hevc: Check max ctb addresses for WPP Fixes out of array read Fixes: 2f95ddd996db8a6281d2e18c184595a7/asan_heap-oob_192fe91_3330_58e4441181e30a66c19f743dcb392347.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
dad354f38ddc9bfc834bc21358a1d0ad41532ca0
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dad354f38ddc9bfc834bc21358a1d0ad41532ca0
2015-11-28 15:48:55+01:00
avcodec/aacsbr_fixed: Replace a noise_facs_q check by an av_assert0 The replaced check should have become redundant Found-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
8eadabf941a908101c69706063415d4ab6a630da
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8eadabf941a908101c69706063415d4ab6a630da
2015-11-20 03:46:43+01:00
avformat/mpjpeg: utilize MIME boundary value to detect start of new frame This code is disabled by default so not to regress endpoints sending invalid MIME, but can be enabled via AVOption 'strict_mime_boundary' Signed-off-by: Alex Agranovsky <[email protected]>
259c71c199e9b4ea89bf4cb90ed0e207ddc9dff7
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/259c71c199e9b4ea89bf4cb90ed0e207ddc9dff7
2015-12-02 22:39:27+01:00
avcodec/dnxhddec: Disable 12bit by default The DC VLC table used is too small, fixing this requires a sample, thus request a sample. Some samples are said to work even though the table has the wrong size, thus this is left enabled if the user enables experimental features. Fixes: 2abd25478c62a675f335fac00b467023/asan_static-oob_10aff98_1227_8811480c6ef1e970a7977ceb7e5a9958.mxf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Approved-by: kurosu Signed-off-by: Michael Niedermayer <[email protected]>
55711e6fd0528f2cb17f1ce64c8da3f92bba14a4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/55711e6fd0528f2cb17f1ce64c8da3f92bba14a4
2015-11-29 21:30:37+01:00
avcodec/aacsbr: Split pre dequantization noise factors table This allows removing a special case for the fixed point decoder and will make error checks simpler Signed-off-by: Michael Niedermayer <[email protected]>
bfd0e02dd64e912a6b67c25d9f86b3b0b849ad10
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bfd0e02dd64e912a6b67c25d9f86b3b0b849ad10
2015-11-19 13:12:20+01:00
Add pixblockdsp checkasm tests
3d20f8e7c0e2887ad676c79a914e2c960cf2dcea
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3d20f8e7c0e2887ad676c79a914e2c960cf2dcea
2015-11-07 18:46:55-08:00
avcodec/ratecontrol: use predefined M_E M_E is defined in math.h, or in avutil/mathematics.h for compatibility hacks. This uses this value instead of an ad-hoc define. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
f1726ad1b0d0345cc9dbae917c3141f703b19050
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f1726ad1b0d0345cc9dbae917c3141f703b19050
2015-11-14 10:58:39-05:00
avcodec/jpeg2000dec: Check for duplicate SIZ marker Fixes: 0231a17345734228011c6f35a64e4594/asan_heap-oob_1d92a72_3218_1213809a9e3affec77e4c191fdfdc0a9.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
44a7f17d0b20e6f8d836b2957e3e357b639f19a2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/44a7f17d0b20e6f8d836b2957e3e357b639f19a2
2015-11-14 00:58:54+01:00
avformat: implement SChannel SSP TLS protocol This implementation does not support TLS listen sockets and loading CA/Certs from files. The Windows API does not support loading PEM certs, and would either require a manual loader or instead be limited to loading Windows PFX certificates TLS listen sockets would have to be implemented quite separately, as many of the APIs are different for server-mode (as opposed to client mode).
4c8d86eb18e2fc8fcd5819a33599422454fdeff8
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c8d86eb18e2fc8fcd5819a33599422454fdeff8
2015-11-14 14:31:58+01:00
avcodec/pngdec: Check blend_op. Fixes CID1322359, CID1322358 Signed-off-by: Michael Niedermayer <[email protected]>
1e7e4f13f95227d79bc8ab9a2167f02f7a3e063f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e7e4f13f95227d79bc8ab9a2167f02f7a3e063f
2015-10-11 03:46:44+02:00
vp9: split header into separate struct and expose in vp9.h This allows hwaccels to access the bitstream header information.
b95f241b6e6360eef8073b4c7b55bd0e3eb73aca
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b95f241b6e6360eef8073b4c7b55bd0e3eb73aca
2015-10-15 13:02:20+02:00
lavfi/vf_yadif: remove looping on request_frame().
4883e5d54012e76d47d6781b2178de53afdea8f6
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4883e5d54012e76d47d6781b2178de53afdea8f6
2015-10-07 19:05:13+02:00
checkasm: Fix compilation with --disable-avcodec
ec85153f252ce1cc1ce0612237b9df26cb37f293
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ec85153f252ce1cc1ce0612237b9df26cb37f293
2015-10-04 15:35:16+02:00
vp9: sse2/ssse3/avx 16bpp loopfilter x86 simd.
db7786e8ffa2c8f5c7da062054962ca81cf09349
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/db7786e8ffa2c8f5c7da062054962ca81cf09349
2015-10-03 14:42:39-04:00
vp9: fix loopfilter test code to address Hendrik's comments. (I forgot to actually merge them into the patch I just pushed.)
350e9c6765f0fd619a31c1a0f71483bf67dfa7bb
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/350e9c6765f0fd619a31c1a0f71483bf67dfa7bb
2015-09-21 20:44:14-04:00
tests/checkasm/vp9dsp: Revert first hunk of bddcf758d3a68ac0bcc3bc4fc4aa7156e05245d4 The change was wrong, also add a comment explaining it Found-by: BBB Signed-off-by: Michael Niedermayer <[email protected]>
5ba40c3c712fdd44b6eecd5499799fe96225a01b
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5ba40c3c712fdd44b6eecd5499799fe96225a01b
2015-09-24 18:34:43+02:00
checkasm: add vp9 intra pred tests.
bbd44e124a59e8fc6212b21765f23cb5c64473fd
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bbd44e124a59e8fc6212b21765f23cb5c64473fd
2015-09-15 16:43:29-04:00
avfilter,swresample,swscale: use fabs, fabsf instead of FFABS It is well known that fabs and fabsf are at least as fast and sometimes faster than the FFABS macro, at least on the gcc+glibc combination. For instance, see the reference: http://patchwork.sourceware.org/patch/6735/. This was a patch to glibc in order to remove their usages of a macro. The reason essentially boils down to fabs using the __builtin_fabs of the compiler, while FFABS needs to infer to not use a branch and to simply change the sign bit. Usually the inference works, but sometimes it does not. This may be easily checked by looking at the asm. This also has the added benefit of reducing macro usage, which has problems with side-effects. Note that avcodec is not handled here, as it is huge and most things there are integer arithmetic anyway. Tested with FATE. Reviewed-by: Clément Bœsch <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
8507b98c10d948653375400e2b0a3d4389f74be4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8507b98c10d948653375400e2b0a3d4389f74be4
2015-10-22 16:13:26-04:00
checkasm: add jpeg2000dsp rct_int tests Reviewed-by: Henrik Gramner <[email protected]> Signed-off-by: James Almer <[email protected]>
784792788b9b5b01e434cdc11437a191be370fc5
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/784792788b9b5b01e434cdc11437a191be370fc5
2015-09-20 00:49:35-03:00
asfdec: add more checks for size left in asf packet buffer Signed-off-by: Luca Barbato <[email protected]>
c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa
2015-09-12 14:23:32+02:00
lavfi: drop the requirement that request_frame returns a frame. It requires a loop in filters or the framework, that makes the scheduling less efficient and more complex. This is purely an internal change since the loop is now present in buffersink. Note that no filter except buffersink did rely on the requirement.
2a351f6c5521c199b4285e4e42f2321e312170bd
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2a351f6c5521c199b4285e4e42f2321e312170bd
2015-09-20 19:02:33+02:00
checkasm: Fix floating point arguments on 64-bit Windows Signed-off-by: Anton Khirnov <[email protected]>
c457bdebe7af643b380aa0f6add3cb4335d218dc
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c457bdebe7af643b380aa0f6add3cb4335d218dc
2015-08-28 09:54:54+02:00
ffmpeg: Use actual frame dimensions in checks in sub2video_update() Fixes Ticket4744 part2 Signed-off-by: Michael Niedermayer <[email protected]>
bd5d11d9f5fdfb5d639a182a97b84ae08af16fc0
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bd5d11d9f5fdfb5d639a182a97b84ae08af16fc0
2015-08-15 17:41:48+02:00
avcodec/g729_parser: Replace codec_id check by assert A parser should never be called with a mismatching codec Signed-off-by: Michael Niedermayer <[email protected]>
8992029fc0a4dd9df16f8cb46cfb641c98fc9f6c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8992029fc0a4dd9df16f8cb46cfb641c98fc9f6c
2015-08-11 23:16:35+02:00
avcodec/dvbsubdec: Do not stop decoding at a invalid depth This corrects parsing the later elements Fixes Ticket4754 Signed-off-by: Michael Niedermayer <[email protected]>
e5774f28d15887d36da25ae1ef2f1b3d7a75f449
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e5774f28d15887d36da25ae1ef2f1b3d7a75f449
2015-08-05 00:16:43+02:00
drawtext: Drop stray guards There is a fallback for localtime_r and it is in use already. Signed-off-by: Luca Barbato <[email protected]>
fe026ba960790a004adfcff33f44f96b05538e5c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fe026ba960790a004adfcff33f44f96b05538e5c
2015-08-02 15:14:33+02:00
rawdec: fix mjpeg probing buffer size check Signed-off-by: Michael Niedermayer <[email protected]>
4c6beaed9210f01290e5a5a4e377f93f145172cc
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c6beaed9210f01290e5a5a4e377f93f145172cc
2015-07-30 00:06:15+02:00
wmv2enc: Check memory allocation
03eb55741427c6608f63972c105e565ca0ba4f15
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/03eb55741427c6608f63972c105e565ca0ba4f15
2015-07-27 14:44:07+01:00
checkasm: Include io.h for isatty, if available configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. Signed-off-by: Martin Storsjö <[email protected]>
bf0cef5c3a114df452e5476167634dd8f51eb448
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bf0cef5c3a114df452e5476167634dd8f51eb448
2015-07-30 09:27:09+03:00
vF_psnr: move set_meta() calls out of loop. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
c381af77c5a9581750b2534a95a1249c8f8953d3
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c381af77c5a9581750b2534a95a1249c8f8953d3
2015-07-11 12:48:58+02:00
avformat/mov: Fix opening relative references Possibly fixes Ticket4671 the removed check is wrong and insufficient Based on patch by Maksym Veremeyenko <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
c9c7263e5820c957598643216c42be9b1c4f2d2b
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9c7263e5820c957598643216c42be9b1c4f2d2b
2015-07-15 01:12:45+02:00
lavc: Add nvenc.h to the skipheader Unbreak make checkheaders
461b45efd04859b2672238bc8a6ecab9e9a14948
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/461b45efd04859b2672238bc8a6ecab9e9a14948
2015-07-09 21:34:57+02:00
ffmpeg: Use correct codec_id for av_parser_change() check No testcase known Signed-off-by: Michael Niedermayer <[email protected]>
45f3d4e63e7807ff3d281f269625ed83f11e4cdc
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/45f3d4e63e7807ff3d281f269625ed83f11e4cdc
2015-08-21 03:37:32+02:00
avcodec/jpeg2000dec: Fix tp_index for POC Fixes Ticket2586 Signed-off-by: Michael Niedermayer <[email protected]>
b75c0a72ed3bb5fab0a0b66ede94f6de887db585
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b75c0a72ed3bb5fab0a0b66ede94f6de887db585
2015-06-26 22:00:29+02:00
avfilter/volume: use AV_OPT_TYPE_BOOL for replaygain_noclip option
ed28dd63018bb504b137e2eca53dd12c3f901f52
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ed28dd63018bb504b137e2eca53dd12c3f901f52
2015-09-08 23:18:33+02:00
wma: Check memory allocation
83797da6e36c1aadd85f41ca237dce823fc7bfa1
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/83797da6e36c1aadd85f41ca237dce823fc7bfa1
2015-05-31 15:03:31+02:00
avfilter/drawutils: Fix format validity check in ff_draw_init() Found-by: Daemon404 Signed-off-by: Michael Niedermayer <[email protected]>
e0db41316a94d85c1d6ab7ebeaf1f4b5e0f3c76a
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0db41316a94d85c1d6ab7ebeaf1f4b5e0f3c76a
2015-06-13 00:06:28+02:00
avcodec/dcadec: Check scale table index Fixes CID1297594 part 1 Signed-off-by: Michael Niedermayer <[email protected]>
0f3e6959bfa67d12cd5a173b86eb15abd7d9e4d5
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0f3e6959bfa67d12cd5a173b86eb15abd7d9e4d5
2015-05-15 18:27:49+02:00
avfilter/vf_transpose: Fix rounding error Fixes out of array access Fixes: asan_heap-oob_7f875d_3482_cov_1818465256_ssudec.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
0083c16605aa5997534e87e68f97ef85a8c3b7b8
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0083c16605aa5997534e87e68f97ef85a8c3b7b8
2015-06-30 16:02:09+02:00
avcodec/sonic: More completely check sample_rate_index and channels Fixes CID1271783 Signed-off-by: Michael Niedermayer <[email protected]>
ade8a46154cb45c88b1cb5c616eaa6320c941187
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ade8a46154cb45c88b1cb5c616eaa6320c941187
2015-05-15 17:31:58+02:00
avcodec/shorten: Check skip_bytes() Fixes CID1210526 Signed-off-by: Michael Niedermayer <[email protected]>
d201becfc0d89c6a5dfe44e96f1044fbc2aadb70
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d201becfc0d89c6a5dfe44e96f1044fbc2aadb70
2015-05-15 16:48:31+02:00
avcodec/hevc_sei: Check num_sps_ids_minus1 value Fixes CID1271794 Signed-off-by: Michael Niedermayer <[email protected]>
93b0ee21a2f534f6d3b812686f3acde110e94f18
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/93b0ee21a2f534f6d3b812686f3acde110e94f18
2015-05-13 01:42:52+02:00
avformat/vorbiscomment: Check entry length in ff_vorbiscomment_write() Signed-off-by: Michael Niedermayer <[email protected]>
eca38864a6ce5053e463b8d3fc22b22bc9a49578
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eca38864a6ce5053e463b8d3fc22b22bc9a49578
2015-05-11 15:23:51+02:00
avcodec/jpeg2000dec: Factorize component out of CPRL loop Signed-off-by: Michael Niedermayer <[email protected]>
7c244349fc1443a0dc349fce9907b01c03383b09
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c244349fc1443a0dc349fce9907b01c03383b09
2015-06-13 13:09:13+02:00
nutdec: check for negative frame rate in decode_info_header A negative frame rate triggers an av_assert2 in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
6621105877ce0d65724a8ab60b3a50160adbe65d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6621105877ce0d65724a8ab60b3a50160adbe65d
2015-04-28 20:37:11+02:00
configure: Simplify avisynth check
1336bb06c9fbf9a14765e9f78616f2aad4f3a45a
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1336bb06c9fbf9a14765e9f78616f2aad4f3a45a
2015-04-15 14:52:58+02:00
swscale: Check memory allocation Bug-Id: CID 1267890 CC: [email protected] Signed-off-by: Luca Barbato <[email protected]>
7ebb3022297aa00afda6800105684b8303f2608e
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7ebb3022297aa00afda6800105684b8303f2608e
2015-03-21 23:18:11+01:00
xcbgrab: Check av_strdup() allocation Bug-Id: CID 1274038
edca1dd552efa1ebef016ca9eff4ce6757605819
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/edca1dd552efa1ebef016ca9eff4ce6757605819
2015-03-12 15:29:59+00:00
x86: Put COPY3_IF_LT under HAVE_6REGS It uses 6 registers, unbreaks building on hardened x86 system. Bug-Id: gentoo/541930 CC: [email protected]
48aef27f5232794e70ecef0d347b9f65e27a9bad
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48aef27f5232794e70ecef0d347b9f65e27a9bad
2015-03-17 12:31:04+01:00
vp9: split segmentation map / mvpair references. This prevents a memcpy if segmentation.update_map == false. Signed-off-by: Michael Niedermayer <[email protected]>
4ba8f3273e218553a0717857b9f422049c691141
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4ba8f3273e218553a0717857b9f422049c691141
2015-03-08 13:58:14+01:00
configure: Move the .object_arch check to the right place Signed-off-by: Martin Storsjö <[email protected]>
b77e335e441040a40fc6156b8e4a134745d10233
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b77e335e441040a40fc6156b8e4a134745d10233
2015-03-07 18:12:58+02:00
avcodec/mpegvideo: Fix undefined shift in ff_mpv_lowest_referenced_row() 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]>
2391e46430fa2af28542124dbcfc935c0a5ce82c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2391e46430fa2af28542124dbcfc935c0a5ce82c
2015-03-11 17:59:59+01:00
avformat/mpc8: Add () to protect MKMPCTAG()s arguments Signed-off-by: Michael Niedermayer <[email protected]>
0b638b83c66d50482320000e125aa3701920d451
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0b638b83c66d50482320000e125aa3701920d451
2015-02-16 23:14:27+01:00
avplay: Check format allocation inside decode_thread() CC: [email protected] Bug-Id: CID 1265718
733f4b05f0e120ddd0393b23f2b6d9106cf922e4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/733f4b05f0e120ddd0393b23f2b6d9106cf922e4
2015-02-17 11:27:41-05:00
avutil/version: Add () to protect the AV_VERSION_INT() arguments Signed-off-by: Michael Niedermayer <[email protected]>
9cde41cdb511f20cd9dfd66c36b1837023e4fec8
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9cde41cdb511f20cd9dfd66c36b1837023e4fec8
2015-02-17 00:17:47+01:00
fate: gapless: fix mp3 tests Seeking to a negative time did not have the desired effect of seeking to the next valid position (the file start). On the other hand, just "-ss 0" will normally seek to a position higher than 0, because it adds the start time of the file. (The start time is not 0 because the gapless code skips a few samples from the start.) Fix this by using the "-seek_timestamp 1" option, which makes "-ss 0" do what you'd expect it would do. Also put the -ss option at the right place, before -i. This actually makes it seek, instead of something completely else. The ".out-3" test is no different in the -usetoc 0/1 cases, because the seeking is inaccurate (in both cases). Signed-off-by: Michael Niedermayer <[email protected]>
1e2e22ec616b4a7adb1091d2466e8b5aeb04e7b3
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e2e22ec616b4a7adb1091d2466e8b5aeb04e7b3
2015-04-20 19:50:58+02:00
avformat/mov: Bypass av_add_index_entry() The new mov code uses a temporally non sorted index since 4abfa387b8234736f6e0e541951e3d5eb60eb843 and can thus no longer be filled with av_add_index_entry() which expects the index to be sorted. Reverting 4abfa387b8234736f6e0e541951e3d5eb60eb843 and this commit would be a alternative fix as would be various other options. Signed-off-by: Michael Niedermayer <[email protected]>
38e641a060e0c00930851a8053ca96250b3ecccc
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/38e641a060e0c00930851a8053ca96250b3ecccc
2015-02-16 01:30:47+01:00
mips/asmdefs: change include guard to read AVUTIL_ instead of AVCODEC_ Signed-off-by: James Cowgill <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
3499a1c0a91c8bc81556d837c87bf991ef6657c1
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3499a1c0a91c8bc81556d837c87bf991ef6657c1
2015-03-07 11:28:03+01:00
svq1dec: Validate the stages value strictly It can be less than -1. Bug-Id: CID 1194397 / CID 1194398 CC: [email protected]
9b8c8a9395c849639aea0f6b5300e991e93c3a73
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9b8c8a9395c849639aea0f6b5300e991e93c3a73
2015-02-03 15:23:21+00:00
generate_wave_table: Add include for AVSampleFormat Fixes warning in `make checkheaders`. Signed-off-by: Michael Niedermayer <[email protected]>
23659fdb812fbb1a539ce2a9c8b245ada11d3ca8
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/23659fdb812fbb1a539ce2a9c8b245ada11d3ca8
2015-02-06 19:07:29+01:00
x86/hevcdsp: add missing guards to ff_hevc_sao_band_filter_avx2 Signed-off-by: James Almer <[email protected]>
71e2cb4706c997171856cb9c43db98eba3f8f7eb
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/71e2cb4706c997171856cb9c43db98eba3f8f7eb
2015-02-01 21:45:52-03:00
swresample/x86/rematrix_init: Check av_malloc* return codes, forward errors Signed-off-by: Michael Niedermayer <[email protected]>
b74ecb82fa51aba52a95992668546afe8ed2bd9f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b74ecb82fa51aba52a95992668546afe8ed2bd9f
2015-02-09 10:15:56+01:00
avformat/mov: Clear array to prevent potential out of array read from av_dlog() Signed-off-by: Michael Niedermayer <[email protected]>
62eafb6a0dd63b67d6a1cf66150df7b27a67c21c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/62eafb6a0dd63b67d6a1cf66150df7b27a67c21c
2015-01-06 15:07:50+01:00
avdevice/openal-dec: Check the return code of av_new_packet() Signed-off-by: Michael Niedermayer <[email protected]>
bf8bcd3b2b51c4d3f0a157e80a8c96c8542217b0
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bf8bcd3b2b51c4d3f0a157e80a8c96c8542217b0
2015-01-19 00:34:18+01:00
ffmpeg: Use filter graph output frame rate also for frame duration estimation Previously the duration was sometimes wrong, this addition limits the value and improves which frames are choosen when reducing the frame rate Signed-off-by: Michael Niedermayer <[email protected]>
d3d9a00bcdfd5fc81d4640489555a3a41c82b303
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d3d9a00bcdfd5fc81d4640489555a3a41c82b303
2015-01-16 20:33:08+01:00
avfilter/vf_cropdetect: extend limit to cover 16bit pixel formats Signed-off-by: Michael Niedermayer <[email protected]>
e405a8a73eeb1aefaa633891f60a801038526935
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e405a8a73eeb1aefaa633891f60a801038526935
2014-12-30 05:33:43+01:00
avdevice/xcbgrab: check xcb_query_pointer_reply_t pointer before use Fixes CID1254668 Signed-off-by: Michael Niedermayer <[email protected]>
e86df0206f06b8d1e97e2b60db8f74a398d53127
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e86df0206f06b8d1e97e2b60db8f74a398d53127
2014-12-09 01:54:51+01:00
avcodec/pngdec: check av_image_get_linesize return value Fixes CID 1257012 Signed-off-by: Michael Niedermayer <[email protected]>
4fa2758c799a4455bd5f69392fdd8aad657e4b50
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4fa2758c799a4455bd5f69392fdd8aad657e4b50
2014-12-08 04:58:00+01:00
matroskadec: Fix read-after-free in matroska_read_seek() In matroska_read_seek(), |tracks| is assigned at the begining of the function. However, functions like matroska_parse_cues() could reallocate the tracks and invalidate |tracks|. This assigns |tracks| only before using it, so that it will not get invalidated elsewhere. Bug-Id: chromium/427266
490a3ebf36821b81f73e34ad3f554cb523dd2682
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/490a3ebf36821b81f73e34ad3f554cb523dd2682
2014-12-15 15:46:34+01:00