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
svq1dec: update w/h only if the header is successfully parsed. Prevents inconsistency and out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
7389bb12e6b3ec3660592fde370d9dd4fe816d2b
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7389bb12e6b3ec3660592fde370d9dd4fe816d2b
2012-12-01 20:19:09+01:00
atrac1: Check block align. Fixes OOM Fixes second samples posted in Ticket1893 Signed-off-by: Michael Niedermayer <[email protected]>
ed017ab945ed2ce13352a0eb627a21e875082834
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ed017ab945ed2ce13352a0eb627a21e875082834
2012-11-24 16:38:22+01:00
mjpegdec: print error message when quant_index is invalid Signed-off-by: Michael Niedermayer <[email protected]>
bc16031a410e0a77927f0604560aa9c803df26b2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bc16031a410e0a77927f0604560aa9c803df26b2
2012-11-30 04:17:03+01:00
ffserver: prefer av_asprintf over malloc+snprintf for Launch setting.
a9ba9268d7f7539621ddc94ef06b2f654d30a35e
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a9ba9268d7f7539621ddc94ef06b2f654d30a35e
2012-11-14 10:09:51+01:00
lxfdec: fix "no audio stream" check. avoid null ptrs deref Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
1f1960519a1700985b5f645a2950c10581f78a73
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f1960519a1700985b5f645a2950c10581f78a73
2012-11-14 00:03:42+01:00
cpia: move reget_buffer after header check If the header is invalid, there is no need to get at buffer. Do it after the header has been checked. Suggested by Reimar Döffinger
296140ebfb7242211852f7736f72dc7f05f0c458
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/296140ebfb7242211852f7736f72dc7f05f0c458
2012-09-01 10:12:33+02:00
lavfi/earwax: add missing NULL check in filter_samples()
d034847f7ab4cd2d54377b8d8eafca07980c9d4d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d034847f7ab4cd2d54377b8d8eafca07980c9d4d
2012-11-04 00:17:27+01:00
vc1dec: check first field slices, fix out of array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
ccce723c6d0ea1ea89ea6c47160a07d37cdeeba2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ccce723c6d0ea1ea89ea6c47160a07d37cdeeba2
2012-11-14 17:35:01+01:00
oggenc: remove unneeded null check. The code would have segfaulted before if it where null Fixes CID732218 Signed-off-by: Michael Niedermayer <[email protected]>
a147c1b2b125c26cd2c5105a7f274a597de37731
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a147c1b2b125c26cd2c5105a7f274a597de37731
2012-11-05 00:28:21+01:00
g722dec: set channel layout at initialization instead of validating it
ec2694d25905c217e5815947cda896aa25398388
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ec2694d25905c217e5815947cda896aa25398388
2012-11-01 11:29:14-04:00
ffplay: initialize audio and video pts drift This makes sensible audio and video clock values even before displaying the first frame. Signed-off-by: Marton Balint <[email protected]>
66bb5b1bc9b1e8e856ca20b402f968d621e7eed2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/66bb5b1bc9b1e8e856ca20b402f968d621e7eed2
2012-10-21 17:18:12+02:00
yuv4mpeg: reject unsupported codecs The muxer already rejects unsupported pixel formats, reject also unsupported codecs to prevent dangerous misuses.
424b1e764263b1493de4c34365ef367ddae856db
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/424b1e764263b1493de4c34365ef367ddae856db
2012-10-28 05:07:55+01:00
lavu/opt: change the way default pixel and sample format value is set Use the i64 field rather than the string value. Using a string to set a default sample/pixel format is weird, also the new interface is more consistent with the rest of the API. This is technically an API break, but hopefully there are no applications using this feature outside of FFmpeg. In order to save backward compatibility with mixed libraries in case libavutil is updated but not the other libraries, some ifdeffery hacks are added. Note that the version check is only performed when class->version != 0, since if it is not defined then we assume that no version was defined and the class is not affected by the change. We will luckily get rid of the hack at the next major bump.
08d0969c1402ccec4dce44bd430128fb59d7b790
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08d0969c1402ccec4dce44bd430128fb59d7b790
2012-11-30 00:01:53+01:00
mov.c: Check for stsd + m1s tag indicating MOV-wrapped MPEG-PS, and force continued probing if found. Fixes Ticket241 Signed-off-by: Michael Niedermayer <[email protected]>
7abf394814d818973db562102f21ab9d10540840
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7abf394814d818973db562102f21ab9d10540840
2012-10-19 16:07:49+02:00
swr-test: check pointers before use Fixes: CID733807, CID733806 Signed-off-by: Michael Niedermayer <[email protected]>
dd3e5baa59964d0e98ff94b159684d03db32553e
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dd3e5baa59964d0e98ff94b159684d03db32553e
2012-10-16 19:39:25+02:00
flashsv: check deflateInit() return value Fixes CID703620 Signed-off-by: Michael Niedermayer <[email protected]>
b3eb4f54c0d091ed518b38a5b90183d0d55fa729
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b3eb4f54c0d091ed518b38a5b90183d0d55fa729
2012-10-13 22:48:32+02:00
dshow: protect access to curbufsize Signed-off-by: rogerdpack <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
a93c221ccd7a036de052e79659fe5b082f586279
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a93c221ccd7a036de052e79659fe5b082f586279
2012-08-19 18:36:26+02:00
vp8dec: reset loopfilter delta values at keyframes while testing a VP8 encoder I found a mismatch between FFMPEG and libvpx VP8 decoders. The reason for this mismatch is that FFMPEG doesn't reset loopfilter delta values at keyframes. Patch that fixes the issue is below. I've verified that the output of ffmpeg after this patch matches libvpx. Signed-off-by: Michael Niedermayer <[email protected]>
3cc0252732513dc7411093935821b1eb6416a9a6
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3cc0252732513dc7411093935821b1eb6416a9a6
2012-10-13 12:43:24+02:00
dshow:protect access to curbufsize to promote consistency Signed-off-by: rogerdpack <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
415f4cca1dfd581acd78d246d765b6e466a6e4ed
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/415f4cca1dfd581acd78d246d765b6e466a6e4ed
2012-08-20 20:58:05+02:00
libopenjpegdec: increase max lowres from 5 to 31 OpenJPEG doesn't have a particular limit Signed-off-by: Michael Bradshaw <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
a763cafc0c69e3fad91f97867b942182804f79b0
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a763cafc0c69e3fad91f97867b942182804f79b0
2012-08-03 21:28:21+02:00
vf_yadif: unset cur_buf on the input link. The buffer is stored internally, so this prevents it from being unreffed automatically. Signed-off-by: Luca Barbato <[email protected]>
b5c8aa745ead1b9a561ced99179291bb94048c84
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b5c8aa745ead1b9a561ced99179291bb94048c84
2012-07-26 00:01:04+02:00
vf_overlay: prevent premature freeing of cur_buf Signed-off-by: Anton Khirnov <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
08fc1ad151fcaac67f4550c224254352c14e4e10
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08fc1ad151fcaac67f4550c224254352c14e4e10
2012-07-26 00:01:04+02:00
mxfdec: allow container_ul to override codec_ul if codec is A-law Fixes some DNXHD files generated by AVID TM, where codec UL was set to A-law meanwhile the real audio codec was PCM S16. According to SMPTE RP 224, A-law is the default value for sound essence parameters therefore we should handle it specially. Signed-off-by: Marton Balint <[email protected]> Reviewed-by: Tomas Härdin <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
13f0cd681e9308efe68802ab03e7443863b4c54f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/13f0cd681e9308efe68802ab03e7443863b4c54f
2012-09-27 21:28:35+02:00
ffmpeg: probe buffersinks once more after EOF. Reap buffers stored in the buffer sinks even when the avfilter_graph_request_oldest() loop only returns EOF. avfilter_graph_request_oldest() can cause frames to arrive to the sinks even when it returns EOF.
bf8ce5a5c382e85f6e7c0bb9d5e698a4c929b0b9
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bf8ce5a5c382e85f6e7c0bb9d5e698a4c929b0b9
2012-07-20 10:18:45+02:00
configure: respect CC_O setting in check_cc Use compiler-specific replacements for the -o flag in check_cc. This makes tests work properly with compilers using non-standard flags. The tms470 flags are updated to work with this scheme. Signed-off-by: Mans Rullgard <[email protected]>
b2704a65d513f63d12e705e941abfbc62676c8fa
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b2704a65d513f63d12e705e941abfbc62676c8fa
2012-07-22 21:14:01+01:00
imgconvert: Implement avcodec_find_best_pix_fmt_of_list() The old avcodec_find_best_pix_fmt() was insufficient due to 64 pix_fmt limit. In ffmpeg this problem has been solved long ago through avcodec_find_best_pix_fmt2() Today libav has added a incompatible modified version of avcodec_find_best_pix_fmt2() under the same name, thus again breaking ABI/API ... The avcodec_find_best_pix_fmt_of_list() added in this commit here makes the libav API available to ffmpeg users too. Signed-off-by: Michael Niedermayer <[email protected]>
72743aef03f7933f89ede398ca2c2a8a8ab90cd4
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/72743aef03f7933f89ede398ca2c2a8a8ab90cd4
2012-07-25 01:25:28+02:00
lavc: Extend the documentation for avcodec_init_packet Add a note that pkt->data and pkt->size must be initialized. Signed-off-by: Martin Storsjö <[email protected]>
7146177d1812966b3e19025271965625ac7a054d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7146177d1812966b3e19025271965625ac7a054d
2012-06-19 10:07:46+03:00
configure: Check for CommandLineToArgvW The actual result of the check isn't used anywhere (since we use this function unconditionally within #ifdef _WIN32), but it makes sure we explicitly link to shell32 (which is linked in implictly on mingw). Signed-off-by: Martin Storsjö <[email protected]>
b4675d0fbf6606ab737e81c3c0fe6a05c8764334
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b4675d0fbf6606ab737e81c3c0fe6a05c8764334
2012-07-15 14:03:53+03:00
tcp: Check the return values from bind and accept Signed-off-by: Martin Storsjö <[email protected]>
641f4a885f141b8350076c9293ebd971dc984347
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/641f4a885f141b8350076c9293ebd971dc984347
2012-06-01 01:56:21+03:00
mp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.
64bde8056337bb656a11f3c9e2857c10b94e2871
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/64bde8056337bb656a11f3c9e2857c10b94e2871
2012-05-30 09:08:29-07:00
x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code. This is needed for older versions of yasm/nasm that do not support AVX. Signed-off-by: Diego Biurrun <[email protected]>
713548cbad4735d691ea286f23adfb67900e6700
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/713548cbad4735d691ea286f23adfb67900e6700
2012-05-22 20:46:02+02:00
vp8: move block coeff arithcoder on stack. This prevents gcc from assuming that contents of it may have changed between calls to vp56_range_get_prob(), thus preventing countless (and unnecessary) movs. Decoding of sintel trailer goes from (avg+SG) 9.796 +/- 0.003 to 9.635 +/- 0.010.
6163d880c0ac8b84b45d1f7a94719c5a0a6b5cb9
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6163d880c0ac8b84b45d1f7a94719c5a0a6b5cb9
2012-05-30 09:08:29-07:00
lavc/libutvideo: fix make checkheaders.
b56f885a2400b91d57d93c5256dc1c04e2bdd5cb
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b56f885a2400b91d57d93c5256dc1c04e2bdd5cb
2012-05-18 23:34:11+02:00
lavd/dshow: protect header.
d1562d32cfd1e7e0c875f88eeed3bfec61db5cb2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1562d32cfd1e7e0c875f88eeed3bfec61db5cb2
2012-05-18 23:34:11+02:00
x86: vc1: fix and enable optimised loop filter The problem is that the ssse3 psign instruction does the wrong thing here. Commit ea60dfe incorrectly removed a macro emulating this instruction for pre-ssse3 code. However, the emulation is incorrect, and the code relies on the behaviour of the macro. Specifically, the psign sets destination elements to zero where the corresponding source element is zero, whereas the emulation only negates destination elements where the source is negative. Furthermore, the PSIGNW_MMX macro in x86util.asm is totally bogus, which is why the original VC-1 code had an additional right shift when using it. Since the psign instruction cannot be used here, skip all the macro hell and use the working instruction sequence directly. None of this was noticed due a stray return statement in ff_vc1dsp_init_mmx() which meant that only the mmx version of the loop filter was ever used (before being removed in ea60dfe). Signed-off-by: Mans Rullgard <[email protected]>
f2fd167835b6f039a593e46ab3a84e1b9a453660
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f2fd167835b6f039a593e46ab3a84e1b9a453660
2012-06-30 00:12:05+01:00
lavfi/blackdetect: add logic for handling stream termination Add request_frame() which checks the black duration when the end of the stream is signalled. Allow to detect black video segments at the end of the stream. Note that the reported last black video segment duration is not very accurate, since we still miss the duration information in the video buffer. Address trac ticket #1470.
eda4500866b461e0eb30a2fb4ba156509edc641d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eda4500866b461e0eb30a2fb4ba156509edc641d
2012-06-21 11:11:50+02:00
ea: check chunk_size for validity. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
273e6af47b38391f2bcc157cca0423fe7fcbf55c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/273e6af47b38391f2bcc157cca0423fe7fcbf55c
2012-05-04 16:06:26-07:00
mpeg12: fix logic that prevents extradata from being parsed twice. Signed-off-by: Michael Niedermayer <[email protected]>
de1824e970d448a84bedce4936c301c322baa714
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de1824e970d448a84bedce4936c301c322baa714
2012-05-11 18:46:56+02:00
aresample: check return code of swr_convert() Issue found by comparing af_resample.c and af_aresample.c Signed-off-by: Michael Niedermayer <[email protected]>
b3e1b95afaff7ed53baef2d193e0968cade7e94b
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b3e1b95afaff7ed53baef2d193e0968cade7e94b
2012-05-17 22:44:28+02:00
ffmpeg: fix validity test for file index. Also fix a typo in the next line.
23a6e4749fa7134ce411ce186062f70f9d348603
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/23a6e4749fa7134ce411ce186062f70f9d348603
2012-04-22 12:45:35+02:00
lavfi: rename all_channel_layouts.h to all_channel_layouts.inc. all_channel_layouts.h is not a real header file and breaks make checkheaders.
64ff8a76706b4d67781b20331afef1bb07b8118f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/64ff8a76706b4d67781b20331afef1bb07b8118f
2012-05-18 23:34:11+02:00
rv40: perform bitwise checks in loop filter Down from 95 kcycles to 93 (including all called functions). Signed-off-by: Ronald S. Bultje <[email protected]>
d834ab0f2a5d5689cdd323e935534fda918319ef
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d834ab0f2a5d5689cdd323e935534fda918319ef
2012-04-28 11:12:38-07:00
avsdec: Set dimensions instead of relying on the demuxer. This fixes out of array writes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
1df49142bab1b7bccd11392aa9e819e297d21a6e
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1df49142bab1b7bccd11392aa9e819e297d21a6e
2012-04-20 17:42:18+02:00
FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum test This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.
5052980400e244000ade57043a1f13016847f6b1
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5052980400e244000ade57043a1f13016847f6b1
2012-04-20 10:23:57-04:00
WMAL: Do not try to read rawpcm coefficients if bits is invalid Signed-off-by: Martin Storsjö <[email protected]>
680097cb6d6b5905fe74c274ee27cb8eebb1513f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/680097cb6d6b5905fe74c274ee27cb8eebb1513f
2012-04-13 23:13:03+03:00
dfa: Fix out of array write in decode_dds1() Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
72b9537d8886f679494651df517dfed9b420cf1f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/72b9537d8886f679494651df517dfed9b420cf1f
2012-04-13 22:59:33+02:00
ffmpeg: stricter refcount check in unref_buffer() Signed-off-by: Michael Niedermayer <[email protected]>
be2b927a6f5311cd5dbf25bd34a029c5d376d9cd
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be2b927a6f5311cd5dbf25bd34a029c5d376d9cd
2012-04-22 20:05:58+02:00
libopenjpegdec: hack to fix GRAY16 decoding Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
a65016205f46d74aa631904ba72a8c70fe32258c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a65016205f46d74aa631904ba72a8c70fe32258c
2012-03-27 00:48:27+02:00
cavsdec: initialize all tables to zeros. This ensures that they dont contain invalid values. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
280beebd399b2d2c9bf58438c2aa2a22a0a53282
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/280beebd399b2d2c9bf58438c2aa2a22a0a53282
2012-03-30 21:48:17+02:00
get_bits: check the number of bits parameter through av_assert2() Signed-off-by: Michael Niedermayer <[email protected]>
6560fa390e9a296276faaa22779936f187f05a96
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6560fa390e9a296276faaa22779936f187f05a96
2012-04-07 19:59:00+02:00
audiointerleave: check timebase Replaces FPE by clean error Signed-off-by: Michael Niedermayer <[email protected]>
b3ab337227ec78ba2de24b1f1972e116257e9ebb
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b3ab337227ec78ba2de24b1f1972e116257e9ebb
2012-04-01 21:21:13+02:00
ffmpeg: check samplerate from decoder. Fixes FPE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
1664edb99859d0a9dfb8dc046f6ed922db301f78
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1664edb99859d0a9dfb8dc046f6ed922db301f78
2012-03-23 10:59:03+01:00
mjpegdec: check h/v_count. Fixes FPE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
08c37a10e9ef7e30d7b7a889ad28c7fa9c49c886
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08c37a10e9ef7e30d7b7a889ad28c7fa9c49c886
2012-03-23 10:24:22+01:00
lavfi/aspect: check for a negative code from av_parse_ratio() Check on < 0 rather than on != 0, this is more correct as a positive error code from av_parse_ratio() value doesn't mean an error.
e71e65ff1d7e4b70db34aa169556cf77ae25608a
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e71e65ff1d7e4b70db34aa169556cf77ae25608a
2012-03-21 15:14:28+01:00
wmaenc: change some asserts to av_assert0. This ensures they are always checked Signed-off-by: Michael Niedermayer <[email protected]>
0a7bf34042dbf31d640f7091beb19926713c31d3
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0a7bf34042dbf31d640f7091beb19926713c31d3
2012-03-05 19:00:22+01:00
threads: fix old frames returned after avcodec_flush_buffers() Calling avcodec_flush_buffers() and then avcodec_decode_video2() with a 0-sized packet (to get remaining buffered frames) could incorrectly return an old frame from before the avcodec_flush_buffers() call. Add a loop in ff_thread_flush() to zero the got_frame field of each thread to ensure the old frames will not be returned. Signed-off-by: Ronald S. Bultje <[email protected]>
05b9a89ed71846be266f283b9d188e0fcb2f0323
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/05b9a89ed71846be266f283b9d188e0fcb2f0323
2012-03-16 15:38:18-07:00
lavc: add ff_alloc_packet2(). This contains a AVCodecContext thus allowing us to prevent the error message duplication Signed-off-by: Michael Niedermayer <[email protected]>
00663de3b752fc3bdd47d4516ad2fcc720722782
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/00663de3b752fc3bdd47d4516ad2fcc720722782
2012-03-22 19:03:18+01:00
dsicinvideo: validate buffer offset before copying pixels. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Michael Niedermayer <[email protected]>
999d38f3a94eb963c073512e5dad7940456eb634
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/999d38f3a94eb963c073512e5dad7940456eb634
2012-03-04 07:45:34+01:00
rtsp: Resend new keepalive commands if they used stale auth These commands are sent asynchronously, not waiting for the reply. This reply is parsed later by ff_rtsp_tcp_read_packet or udp_read_packet. If the reply indicates that we used stale authentication and need to use a new nonce, resend a new keepalive command immediately. This is the only request sent asynchronously, so currently there's no other command that needs to be resent in the same way. Signed-off-by: Martin Storsjö <[email protected]>
cdf9108b6ae35f597f3a7932b70be7c8cf9bd743
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cdf9108b6ae35f597f3a7932b70be7c8cf9bd743
2012-03-13 11:19:29+02:00
wmaenc: check final frame size against output packet size Currently we have an assert() that prevents the frame from being too large, but it is more user-friendly to give an error message instead of aborting on assert(). This condition is quite unlikely due to the minimum bit rate check in encode_init(), but it is still worth having.
5d652e063bd3a180f9de8915e5137aa4f938846d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d652e063bd3a180f9de8915e5137aa4f938846d
2012-03-03 18:20:10-05:00
als: prevent infinite loop in zero_remaining(). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
af468015d972c0dec5c8c37b2685ffa5cbe4ae87
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af468015d972c0dec5c8c37b2685ffa5cbe4ae87
2012-02-17 12:35:08-08:00
lagarith: Fix out of array reads. Signed-off-by: Michael Niedermayer <[email protected]>
69494fd5c50742cb7d9ad9ca45b154ab9c33fa19
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/69494fd5c50742cb7d9ad9ca45b154ab9c33fa19
2012-02-11 23:57:35+01:00
docs: use -bsf:[vas] instead of -[vas]bsf. The latter syntax is now invalid. Signed-off-by: Anton Khirnov <[email protected]>
d6a77e2b97f3968b99798faeb70e873eb5910849
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d6a77e2b97f3968b99798faeb70e873eb5910849
2012-02-24 22:04:11+01:00
msmpeg4: replace 999999 by INT_MAX and initial by a valid index. Fixes Ticket990 Signed-off-by: Michael Niedermayer <[email protected]>
af46ca73568ea8edb261d2aeedd892c68fa918bc
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af46ca73568ea8edb261d2aeedd892c68fa918bc
2012-02-10 22:50:16+01:00
libgsm: check return value of gsm_create & avcodec_alloc_frame() Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
3ac99cdc412f3c02f96c752a6da4aada10f2edb6
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3ac99cdc412f3c02f96c752a6da4aada10f2edb6
2012-01-28 22:08:20+01:00
adxenc: check return value of avcodec_alloc_frame() Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
7b21b0f155fffa1af52e48f187415e3d58bdbae1
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7b21b0f155fffa1af52e48f187415e3d58bdbae1
2012-01-28 20:14:20+01:00
ffmpeg: Add threshold to discard crazy/damaged timestamps. The added tests are limited to the case where timestamp discontinuities are not allowed. The default is 30 hours which is arbitrarily picked and quite conservative. This prevents a out of memory condition due to duplicating a frame millions of times. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
29034e65039ef6b1854ceeb76ffe4092992d9fd5
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29034e65039ef6b1854ceeb76ffe4092992d9fd5
2012-02-10 05:40:42+01:00
lavc: add avcodec_is_open(). It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
af08d9aeea870de017139f7b1c44b7d816cf8e56
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af08d9aeea870de017139f7b1c44b7d816cf8e56
2012-01-31 07:55:24+01:00
threads: check defines before using them in automatic thread detection
7052618c7ed6e907434b2b6ef18e77b9d2644676
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7052618c7ed6e907434b2b6ef18e77b9d2644676
2011-12-23 14:41:03+01:00
v4l2: refactor device_open Check capabilities directly in the function, further simplify the code.
eb89b4fc0994d682cd3f24b882164439c8c3af28
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eb89b4fc0994d682cd3f24b882164439c8c3af28
2012-01-04 13:10:20+01:00
sgidec: make compiler optimize away memcpy call in inner loop. Using an always_inline function makes the memcpy length a constant, any reasonable compiler will replace it by a single mov instruction without us having to duplicate the actual code. Signed-off-by: Reimar Döffinger <[email protected]>
4231bbbf4c54c22fbda6832002675b43f24d3802
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4231bbbf4c54c22fbda6832002675b43f24d3802
2012-01-09 11:02:21+01:00
4xm: remove unneeded check for remaining unused data. This is unnecessary complication that only prints a message and does not affect decoding.
bc78ceec2be6613c265387017221c7ceda15aa7d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bc78ceec2be6613c265387017221c7ceda15aa7d
2011-12-18 13:43:45-05:00
mxfdec: Never seek back in local sets and KLVs Specially crafted files can lead the parsing code to take too long. We fix a lot of these problems by not allowing local tags to extend past the end of the set and not allowing other KLVs to be read past the end of themselves.
e7839602f469eb9dd5e1341d780c0c1667ac89ad
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e7839602f469eb9dd5e1341d780c0c1667ac89ad
2011-12-21 14:17:29+01:00
libnut: Check nut_demuxer_init() return value. Signed-off-by: Michael Niedermayer <[email protected]>
e21f8a07ca29c6c9328bf59a5ca14087c52c67c3
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e21f8a07ca29c6c9328bf59a5ca14087c52c67c3
2011-12-08 21:21:33+01:00
mxfdec: Check slice_count before freeing slice_offset_entries This fixes SIGSEGV on sliceless (single stream) VBR files Signed-off-by: Michael Niedermayer <[email protected]>
89cc8c17dfc2e49d2507eb72bfba10baba372d7f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/89cc8c17dfc2e49d2507eb72bfba10baba372d7f
2011-12-12 18:34:37+01:00
Do not memcpy raw video frames when using null muxer Commit 035af99 made avconv always call an encoder when using the null muxer. While useful for 2-pass encodes, it inadvertently caused an extra memcpy of raw frames when decoding only. This hack restores the old behaviour when only decoding while allowing use of the null muxer with encoded streams as well. Signed-off-by: Mans Rullgard <[email protected]>
150ddbc1482c65b9aac803f011d7fcd734f776ec
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/150ddbc1482c65b9aac803f011d7fcd734f776ec
2011-12-02 18:49:50+00:00
Make channel layout masks unsigned It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <[email protected]>
cc276c85d15272df6e44fb3252657a43cbd49555
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cc276c85d15272df6e44fb3252657a43cbd49555
2011-11-25 13:19:54+00:00
pthread: check pthread_create() return value. Signed-off-by: Michael Niedermayer <[email protected]>
47044625ba0829d10e48f8c205e2c976181de01a
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/47044625ba0829d10e48f8c205e2c976181de01a
2011-11-27 06:17:03+01:00
h264: Fix concealment regression introduced by babf4fe01a808327d53977ba319c113a930180b1 Limit the new case to when the decoder is flushed instead of at each idr frame Signed-off-by: Michael Niedermayer <[email protected]>
3dea28cc2ef22861347918b6740c4c05c46a6614
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3dea28cc2ef22861347918b6740c4c05c46a6614
2011-12-10 23:26:38+01:00
avio: Add an internal utility function for checking the new interrupt callback Signed-off-by: Anton Khirnov <[email protected]>
c4a090ddb564b87fd9d6d4f83e0f134a77c96007
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4a090ddb564b87fd9d6d4f83e0f134a77c96007
2011-11-13 13:07:48+01:00
dpcm: remove unneeded buf_size==0 check. It is already checked in avcodec_decode_audio3()
e79da63282b354fb721ac4b763d268649f0efd76
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e79da63282b354fb721ac4b763d268649f0efd76
2011-11-11 14:17:39-05:00
mpegvideo_probe: reduce score for invalid streams Signed-off-by: Michael Niedermayer <[email protected]>
bf0ac7aa696237a9a3834ac6c065462786770e54
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bf0ac7aa696237a9a3834ac6c065462786770e54
2011-11-08 23:54:25+01:00
avfilter: dont write out of array for duplicate formats in avfilter_merge_formats() Note, this is a theoretical fix, iam not aware of a case where this function receives duplicates in its input. Signed-off-by: Michael Niedermayer <[email protected]>
8cda755c2f510fe08b7c78d95392496535582e2f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8cda755c2f510fe08b7c78d95392496535582e2f
2011-11-23 13:18:11+01:00
avconv: make negative mappings disable only streams from the specified file
e6674f685b1dae4088a4ca8c2249956c96898661
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e6674f685b1dae4088a4ca8c2249956c96898661
2011-11-03 07:28:08+01:00
Check NUV per-frame header for validity. Since it contains dimensions parsing an invalid one has rather annoying effects. Signed-off-by: Reimar Döffinger <[email protected]>
6f3ebcc320d87e60f738f6cd3ff322c1716c3a93
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6f3ebcc320d87e60f738f6cd3ff322c1716c3a93
2011-11-05 23:33:49+01:00
imc: validate channel count ask for a sample if not mono
7b7f47e73356d113cace74b922eee0b6ff5ffe0b
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7b7f47e73356d113cace74b922eee0b6ff5ffe0b
2011-11-02 17:02:22-04:00
truespeech: check for large enough output buffer rather than truncating output
a8f8db2636cf9f605fbe842d1136a3e1acc3c9b2
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a8f8db2636cf9f605fbe842d1136a3e1acc3c9b2
2011-10-13 16:25:59-04:00
vqavideo: check for invalid/unsupported version Signed-off-by: Michael Niedermayer <[email protected]>
b226af39107f09cd650875388250f4968eea54db
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b226af39107f09cd650875388250f4968eea54db
2011-10-09 03:08:03+02:00
libstagefright: limit the output queue size
295f13953dc57be8c2ad7e41f6254d0a036582a8
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/295f13953dc57be8c2ad7e41f6254d0a036582a8
2011-10-07 18:32:36+05:30
avconv: Initialize return value for codec copy path.
4bb0b31f762c422ad15bee68da7bcf76940cc9fa
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4bb0b31f762c422ad15bee68da7bcf76940cc9fa
2011-09-27 19:32:26-07:00
mpeg probe: check the 2/4-bit synchronization value found after a pack_start_code.
fe21f78d2bf1ac5b5400570a8a4031be3493aa7d
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fe21f78d2bf1ac5b5400570a8a4031be3493aa7d
2011-09-29 09:45:57-07:00
Prevent calling init_vlc() with invalid parameters in motionpixels decoder. Signed-off-by: Michael Niedermayer <[email protected]>
41b7389cade702383e59343561776f83bb26e17f
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/41b7389cade702383e59343561776f83bb26e17f
2011-09-29 06:11:18+02:00
rv34: Check for invalid slice offsets Signed-off-by: Martin Storsjö <[email protected]>
4cc7732386eb36661ed22d1200339b38a5fa60bc
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4cc7732386eb36661ed22d1200339b38a5fa60bc
2011-09-20 10:29:55+03:00
check all svq3_get_ue_golomb() returns. Signed-off-by: Michael Niedermayer <[email protected]>
979bea13003ef489d95d2538ac2fb1c26c6f103b
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/979bea13003ef489d95d2538ac2fb1c26c6f103b
2011-09-17 21:55:11+02:00
vf_unsharp: fix out-of-buffer read In apply_unsharp(), when y is >= height, prevent out-of-buffer reading from src, read from the last buffer line in src2 instead. The check was implemented in the original unsharp libmpcodecs code and lost in the port. This also fixes output discrepancy between the two filters.
63b61d55f9592e61cc8f7d973482c1120e0dc987
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/63b61d55f9592e61cc8f7d973482c1120e0dc987
2011-08-14 16:28:54+02:00
vf_drawtext: drop text wrapping feature Or in other word, do not go to the next line when the text cannot be rendered within the frame. The rationale is that wrapping is hard to manage, as it depends on the position of the text, thus making hard/impossible to compute the size occupied by the rendered text, and makes the filter behavior unpredictible with moving text (implemented in a pending patch). Also the current wrapping code is very limited (for example it splits words in the middle), and correctly handling wrapping requires much more complexity (alignment, gravity, word parsing etc.), while drawtext is meant to be only a thin wrapper around libfreetype, so such advanced features don't belong here.
163854bca0e0c1b43831de7463ffa3ff9e6595ca
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/163854bca0e0c1b43831de7463ffa3ff9e6595ca
2011-09-24 12:36:39+02:00
lavfi: remove default config_props() callback and refactor avfilter_config_links() Link properties have to be checked after config_props() is called to make sure everything is sane, so the default config_props() for output links was redundant. Also remove channel_layout check as it is now negotiated. Signed-off-by: Stefano Sabatini <[email protected]>
5f68a91be242c05bdd5aeffd74b36a1e6c782dd5
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5f68a91be242c05bdd5aeffd74b36a1e6c782dd5
2011-08-06 12:13:18+02:00
dnxhddec: rearrange decode_dct_block loop This makes decoding a bit faster. Signed-off-by: Mans Rullgard <[email protected]>
b297c881d6b968bbb2bb7a3a0979429ee03b594c
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b297c881d6b968bbb2bb7a3a0979429ee03b594c
2011-07-24 22:22:18+01:00
build: Remove redundant config.mak includes from subdirectory Makefiles. Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough.
a6213f3dce4006e0d47bd938e15832987d95efef
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a6213f3dce4006e0d47bd938e15832987d95efef
2011-06-25 13:02:51+02:00
vc1: re-initialize tables after width/height change. read_sequence_header can change width/height; therefore, re-initialize all tables if width/height changed Signed-off-by: Anton Khirnov <[email protected]>
7b20d35a543c6635c348f3b312b5fa24137c0f95
ffmpeg
devign
0
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7b20d35a543c6635c348f3b312b5fa24137c0f95
2011-06-07 19:55:02+02:00