[FFmpeg-devel] [PATCH]Fix for issue694. Dirac A/V sync loss

Anuradha Suraparaju anuradha
Tue Nov 18 01:34:02 CET 2008


Hi,

On Fri, 2008-11-07 at 04:41 -0500, David Conrad wrote:
[...]
> 
> > +    pu->next_pu_offset = (start[5] << 24) +
> > +                         (start[6] << 16) +
> > +                         (start[7] << 8)  +
> > +                         start[8];
> 
> AV_RL32(start+5) is more readable imo.

AV_RL32 is used when the MSB is last and not first. So replaced the
above with AV_RB32 instead.

Also removed code related to unnecessary parsing of the sequence header
since the decoder is invoked in av_find_stream_info when parsing a raw
Dirac bitstream.

A modified patch is attached to this email.

Regards,
Anuradha 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue694_libdirac_libschroedinger_svn_15870.diff
Type: text/x-patch
Size: 9993 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081118/8068b7e5/attachment.bin>



More information about the ffmpeg-devel mailing list