[FFmpeg-devel] [PATCH] asfdec: division by 0 on missing packet size

Michael Niedermayer michaelni
Thu Jul 2 14:55:56 CEST 2009

On Thu, Jul 02, 2009 at 02:35:44PM +0200, Reimar D?ffinger wrote:
> Hello,
> AFAICT there is no way to demux ASF without knowing the packet size,
> thus read_header should already fail instead of crashing at read_packet
> when we try to calulate modulus the packet size.

hmm, the packet size should not be essential for demuxing, have you tried
to hack the % with something silly?
the packet_size might be essential to seeking though

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090702/cd464850/attachment.pgp>

More information about the ffmpeg-devel mailing list