diff options
author | Pascal Massimino <pascal.massimino@gmail.com> | 2019-08-28 09:41:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-10 17:21:54 +0200 |
commit | 857fd2ad99032e3ff51363975997d0caf0e72e7b (patch) | |
tree | e17b28aa94b3fd33eb11e0f350a4399b06f2198b /libavfilter/vf_fps.c | |
parent | 3740bdee77ae1810162fc215172f432fcee2d0f0 (diff) | |
download | ffmpeg-857fd2ad99032e3ff51363975997d0caf0e72e7b.tar.gz |
avcodec/webp: fix decoding for trailing junk
some bitstream have trailing junk, despite being valid webp data.
In case of apparent error, abort the loop and let *got_frame
decide whether this is an error or not.
fixes trac #8107 (/#7612)
Another possibility would be turning the loop into:
while (!*got_frame) {...}
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_fps.c')
0 files changed, 0 insertions, 0 deletions