[Ffmpeg-cvslog] r7476 - trunk/libavformat/mpc.c

reimar subversion
Sun Jan 14 17:10:05 CET 2007


Author: reimar
Date: Sun Jan 14 17:10:05 2007
New Revision: 7476

Modified:
   trunk/libavformat/mpc.c

Log:
10l, > vs. >= typo, caused crashes on last mpc frame


Modified: trunk/libavformat/mpc.c
==============================================================================
--- trunk/libavformat/mpc.c	(original)
+++ trunk/libavformat/mpc.c	Sun Jan 14 17:10:05 2007
@@ -118,7 +118,7 @@
     int ret, size, size2, curbits, cur = c->curframe;
     int64_t tmp, pos;
 
-    if (c->curframe > c->fcount)
+    if (c->curframe >= c->fcount)
         return -1;
 
     if(c->curframe != c->lastframe + 1){




More information about the ffmpeg-cvslog mailing list