[FFmpeg-cvslog] r25810 - trunk/libavcodec/pgssubdec.c

reimar subversion
Tue Nov 23 08:01:50 CET 2010


Author: reimar
Date: Tue Nov 23 08:01:49 2010
New Revision: 25810

Log:
100l, fix missing decrement on split PGS packets.

Modified:
   trunk/libavcodec/pgssubdec.c

Modified: trunk/libavcodec/pgssubdec.c
==============================================================================
--- trunk/libavcodec/pgssubdec.c	Tue Nov 23 02:16:37 2010	(r25809)
+++ trunk/libavcodec/pgssubdec.c	Tue Nov 23 08:01:49 2010	(r25810)
@@ -182,6 +182,7 @@ static int parse_picture_segment(AVCodec
 
         memcpy(ctx->picture.rle + ctx->picture.rle_data_len, buf, buf_size);
         ctx->picture.rle_data_len += buf_size;
+        ctx->picture.rle_remaining_len -= buf_size;
 
         return 0;
     }



More information about the ffmpeg-cvslog mailing list