[FFmpeg-devel] [PATCH 1/2] dvbsub: fix encoding of termination packets.

Michael Niedermayer michaelni at gmx.at
Thu Jul 26 03:22:33 CEST 2012

On Thu, Jul 26, 2012 at 12:30:08AM +0200, Nicolas George wrote:
> The old code generates a termination packet with the same regions as the
> start packet and page_state set to "only what changed"; the result is
> that the termination packet is decoded as identical to the start packet.
> The new code does as found in some DVB broadcasts: produce a packet with
> no regions. This is done by expecting num_rects to be 0 rather than
> using a flip-flop. ffmpeg.c is updated accordingly.

I think after this patch a fate test should be added

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120726/2ca36279/attachment.asc>

More information about the ffmpeg-devel mailing list