On Wed, 2012-03-21 at 10:50 -0700, Ronald S. Bultje wrote: > Hi, > > On Wed, Mar 21, 2012 at 5:17 AM, Tomas Härdin <tomas.har...@codemill.se> > wrote: > > Hi > > > > Running ffprobe/avprobe on > > http://titan.codemill.se/~tomhar/samples/sigfpe.aif results in SIGFPE at > > libavformat/aiffdec.c:162 since aiff->block_duration == 0. > > Attached patch sets block_duration = 1 in the default case. Fixes the > > problem for both projects. > > But that value is not correct. Shouldn't we error out?
No idea. Shouldn't all normal PCM formats work kind of the same (have block_duration = 1)? I could understand GSM, QCELP etc. needing special values. Maybe not all PCM variants can be muxed in AIFF-C? Nothing in the code suggests this though. /Tomas _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel