[FFmpeg-devel] Possible bug in dvbsub.c
Janne Grunau
janne-ffmpeg
Tue Feb 8 22:52:32 CET 2011
On Tue, Feb 08, 2011 at 07:14:58PM +0000, M?ns Rullg?rd wrote:
> Ronen Mizrahi <ronen at tversity.com> writes:
>
> > Hello,
> >
> > Looks like line 226 in dvbsub.c is neglecting to put the object version in
> > the correct bits:
> > *q++ = s->object_version | (page_state << 2) | 3;
> >
> > It should be:
> >
> > *q++ = (s->object_version << 4) | (page_state << 2) | 3;
>
> That certainly _looks_ more reasonable. Care to prepare a proper patch?
yes, it's correct
> > I am no dvbsub expert so I was hoping someone on the list can confirm. In my
> > case the encoding did not play correctly in vlc before this patch but does
> > after it, so I suspect it is indeed required.
>
> Which spec covers this? Shouldn't be hard to verify the fix against spec.
ETSI EN 300 743 available for download from http://www.dvb.org
Janne
More information about the ffmpeg-devel
mailing list