[FFmpeg-devel] [PATCH] avoid double-free on ffmdec open fail
Sat Jul 24 23:17:46 CEST 2010
On 7/24/10 8:25 AM, Reimar D?ffinger wrote:
> currently ffmdec for some reason tries to free the streams it created
> on its own, which causes issues like double frees etc. when the
> av_close_input_stream does the same.
> This patch removes the useless and wrong code and also uses more
> appropriate return values.
Patch look ok assuming calling av_close_input_file when open returned an
error is the right thing to do.
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel