[FFmpeg-devel] [PATCH] fix crash in ffmpeg if resampling and no audio packets are ever processed
Mon Jan 7 21:19:29 CET 2008
If an ffmpeg transcoding requests that resampling should be set up but
no audio packet is ever processed, ost->resample will be NULL but
ost->audio_resample will be 1. This will cause audio_resample_free()
to be called with NULL, resulting in a crash.
This was a regression introduced by me in r11222
Attached patch fixes the issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 498 bytes
Desc: not available
More information about the ffmpeg-devel