changeset 3049:9f85c9cf6034 libavcodec

10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...
author reimar
date Sun, 15 Jan 2006 21:33:06 +0000
parents 986716310195
children 61e47d203191
files lzo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lzo.c	Sun Jan 15 00:28:36 2006 +0000
+++ b/lzo.c	Sun Jan 15 21:33:06 2006 +0000
@@ -34,7 +34,7 @@
     if (c->in < c->in_end)
         return *c->in++;
     c->error |= LZO_INPUT_DEPLETED;
-    return 0;
+    return 1;
 }
 
 /**