Browse Source

100l, fix missing decrement on split PGS packets.

Originally committed as revision 25810 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Reimar Döffinger 14 years ago
parent
commit
097ea6db27
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/pgssubdec.c

+ 1
- 0
libavcodec/pgssubdec.c View File

@@ -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;
}


Loading…
Cancel
Save