[FFmpeg-devel] [PATCH] raw_read_header fix

Alex Beregszaszi alex
Sat Jul 14 00:30:15 CEST 2007


Hi,

raw_read_header will return even when no parameters are specified, thus
the stream will be 0khz, 0channels or 0x0 in width.

This returns an error.

Maybe avcodec_check_dimensions() should be used?

--
Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: raw-header.diff
Type: text/x-patch
Size: 781 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070714/2bbaec42/attachment.bin>



More information about the ffmpeg-devel mailing list