[FFmpeg-devel] [PATCH] fix for roundup issue 2475

Daniel Kang daniel.d.kang
Sun Jan 2 06:34:53 CET 2011


I am a Google Code-In student, and as part of a task, I have used zzuf
to generate a wav file that causes ffmpeg to fail an assertion. The
roundup issue is 2475. The error occurs when invalid sampling rates
(i.e. negative ones) fail the assertion.

I have attached a patch that adds a sanity check on sampling rates. It
should also work for other audio types, but I could not generate a file
that fails with the same error. Are there any comments?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wav_assertion_fail_fix.diff
Type: application/octet-stream
Size: 855 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110102/18181c04/attachment.obj>



More information about the ffmpeg-devel mailing list