[FFmpeg-devel] checked region version in dvbsubdec.c

Michael Niedermayer michaelni at gmx.at
Tue Apr 22 15:39:39 CEST 2014

On Tue, Apr 15, 2014 at 06:37:38PM +0530, anshul wrote:
> Hi
> I referred ETSI EN 300 743 V1.3.1 (2006-11) for dvb subtitle.
> This document they say that ...
>   region_version_number: This indicates the version of this region.
>    The version number is incremented (modulo 16) if one or more of
>     the following conditions is true :
>      -> the region_fill_flag is set;
>      -> the regions CLUT family has been modified;
>      -> the region has a non-zero length object list.
> so I have changed code to not check anything if version number are same.

The version could also match when streams are concatenated
so i would suggest that more is checked than the 4 bit version


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- 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/20140422/d73227ac/attachment.asc>

More information about the ffmpeg-devel mailing list