This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/clearvideo: display warning if decoder overreads input
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n4.1
Paul B Mahol
7 years ago
parent
e34751cb8a
commit
f09fdf2d9c
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/clearvideo.c
+ 3
- 0
libavcodec/clearvideo.c
View File
@@ -637,6 +637,9 @@ static int clv_decode_frame(AVCodecContext *avctx, void *data,
*got_frame = 1;
if (get_bits_left(&c->gb) < 0)
av_log(c->avctx, AV_LOG_WARNING, "overread %d\n", -get_bits_left(&c->gb));
return mb_ret < 0 ? mb_ret : buf_size;
}
Write
Preview
Loading…
Cancel
Save