1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavcodec
Pascal Massimino 857fd2ad99 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>
2019-09-10 17:21:54 +02:00
..
2019-07-25 15:13:09 +01:00
2019-08-26 10:36:40 +02:00
2019-08-29 21:04:54 +02:00
2019-08-29 21:04:54 +02:00
2019-06-26 21:25:10 +02:00
2019-08-22 21:38:41 +02:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-07 11:33:19 +02:00
2019-08-29 21:04:54 +02:00
2019-08-11 19:13:21 +02:00
2019-06-30 14:27:04 +02:00
2019-08-29 21:04:54 +02:00
2019-08-29 15:57:54 +02:00
2019-08-23 10:56:34 -07:00
2019-08-15 01:26:21 +02:00
2019-06-29 19:22:19 +02:00
2019-08-11 19:13:21 +02:00
2019-09-02 13:46:11 -07:00
2019-09-06 22:26:55 +02:00
2019-08-20 13:34:04 +08:00
2019-08-23 22:24:07 +02:00
2019-07-08 09:38:03 +02:00
2019-09-02 09:26:53 +02:00
2019-07-28 22:34:26 +01:00
2019-06-12 20:06:20 +10:00
2019-08-22 18:35:44 +02:00
2019-08-22 18:35:44 +02:00
2019-08-22 18:35:44 +02:00
2019-09-05 19:45:53 +02:00