diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-11-23 07:01:49 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-11-23 07:01:49 +0000 |
commit | 097ea6db27e0a258365e9679f54b22e743fe15e8 (patch) | |
tree | 39ec441fcf79549aa71f0b892ce509c284df8d59 /libavcodec/pgssubdec.c | |
parent | 9d252137e502c5de20b10206f84f30917d6ebab8 (diff) | |
download | ffmpeg-097ea6db27e0a258365e9679f54b22e743fe15e8.tar.gz |
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.c | 1 |
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; } |