changeset 658:dc8df8792a24 libavcodec

avoid nonsense frame-skip messages
author michaelni
date Thu, 12 Sep 2002 15:00:09 +0000
parents 8de2081a39ab
children 9dc53c09d791
files h263dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Thu Sep 12 14:43:44 2002 +0000
+++ b/h263dec.c	Thu Sep 12 15:00:09 2002 +0000
@@ -121,7 +121,7 @@
         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;
     }