diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-09-12 15:00:09 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-09-12 15:00:09 +0000 |
commit | 7727783512d611a2049f2d53f92d44685252bbed (patch) | |
tree | c66921aa2b478b39be57131a98b1cf914a947705 /libavcodec | |
parent | df266acdec6235c09605213837a30ca3c63c7e82 (diff) | |
download | ffmpeg-7727783512d611a2049f2d53f92d44685252bbed.tar.gz |
avoid nonsense frame-skip messages
Originally committed as revision 929 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 3e7395f1f5..90b5a708f2 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -121,7 +121,7 @@ static int get_consumed_bytes(MpegEncContext *s, int buf_size){ return buf_size; }else{ if(pos==0) pos=1; //avoid infinite loops (i doubt thats needed but ...) - if(pos>buf_size) pos=buf_size; // oops ;) + if(pos+10>buf_size) pos=buf_size; // oops ;) return pos; } |