[MPlayer-dev-eng] ASF patch

Nico Sabbi nicola_sabbi at fastwebnet.it
Fri Dec 15 23:17:15 CET 2006


Nikolay Dobrev wrote:
> Hello,
> Encoding of asf packets with padding is broken.
> When asf->packet_size_left is not zero, one or two more bytes is added to
> the parsing info and the asf->packet_size_left is not updated. Then the
> packet_filled_size in function
> 
> static void flush_packet(AVFormatContext *s)
> 
> is wrong and the memset:
> 
> memset(asf->packet_buf + packet_filled_size, 0, asf->packet_size_left);
> 
> fills the frame with zeroes. After that when the file is played there is
> errors from the decoder of some frames.
> 
> I suggest the attached patch
> 
> Nick.

report to ffmpeg-devel at mplayerhq.hu, please.

-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users



More information about the MPlayer-dev-eng mailing list