[FFmpeg-devel] [PATCH] Decode PGS subtitle multipacket RLE data

Reimar Döffinger Reimar.Doeffinger
Tue Nov 23 08:02:41 CET 2010


On Mon, Nov 22, 2010 at 05:41:39PM -0800, Mark Goodman wrote:
> On Mon, Nov 22, 2010 at 12:18 PM, Reimar D?ffinger
> <Reimar.Doeffinger at gmx.de> wrote:
> > Could you explain the value 4 in
> > rle_bitmap_len = bytestream_get_be24(&buf) - 4;
> > ?
> 
> The width and height data as your comment indicates.

Ok, just wanted to confirm I guessed right and it's not
something that needs to be subtracted e.g. once per split.

> The committed patch doesn't appear to decrement rle_remaining_len on
> additional packets.

Stupid. Fixed.



More information about the ffmpeg-devel mailing list