Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-11-23 10:01:49 +0300
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-11-23 10:01:49 +0300
commit097ea6db27e0a258365e9679f54b22e743fe15e8 (patch)
tree39ec441fcf79549aa71f0b892ce509c284df8d59 /libavcodec/pgssubdec.c
parent9d252137e502c5de20b10206f84f30917d6ebab8 (diff)
100l, fix missing decrement on split PGS packets.
Originally committed as revision 25810 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pgssubdec.c')
-rw-r--r--libavcodec/pgssubdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index c283b9c0c3..9ee1ded541 100644
--- a/libavcodec/pgssubdec.c
+++ b/libavcodec/pgssubdec.c
@@ -182,6 +182,7 @@ static int parse_picture_segment(AVCodecContext *avctx,
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;
}