Commit 3f0da634 authored by michaelni's avatar michaelni

avoid nonsense frame-skip messages


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@929 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 49af1a60
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment