[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec lzo.c,1.4,1.5

Reimar Döffinger CVS reimar
Sun Jan 15 22:33:08 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv26804

Modified Files:
	lzo.c 
Log Message:
10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...


Index: lzo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/lzo.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- lzo.c	14 Jan 2006 14:59:11 -0000	1.4
+++ lzo.c	15 Jan 2006 21:33:06 -0000	1.5
@@ -34,7 +34,7 @@
     if (c->in < c->in_end)
         return *c->in++;
     c->error |= LZO_INPUT_DEPLETED;
-    return 0;
+    return 1;
 }
 
 /**





More information about the ffmpeg-cvslog mailing list