[FFmpeg-devel] [PATCH] raw_read_header fix

Alex Beregszaszi alex
Sat Jul 14 00:33:34 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?

Sorry, I see this is broken as avformat will use try_decode_frame in
that case. Anyway I get crashes in seek_test when it opens ulaw or alaw
raw files.

--
Alex






More information about the ffmpeg-devel mailing list