1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

100l, fix missing decrement on split PGS packets.

Originally committed as revision 25810 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2010-11-23 07:01:49 +00:00
parent 9d252137e5
commit 097ea6db27

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); memcpy(ctx->picture.rle + ctx->picture.rle_data_len, buf, buf_size);
ctx->picture.rle_data_len += buf_size; ctx->picture.rle_data_len += buf_size;
ctx->picture.rle_remaining_len -= buf_size;
return 0; return 0;
} }