Le quintidi 25 frimaire, an CCXXIII, Lukasz Marek a écrit :
> for example
> ffmpeg -f alsa -i  aaaa -f alsa aaa
> would crash if ffmpeg tried to close alsa after open fail. It doesn't so it
> doesn't occur.
> 
> This commit also make safe to call close function twice on the same context

In that case, I am not sure if that is such a good idea. Applications should
not be calling av_write_trailer() on unopened contexts, it is not a benign
operation like free(). But I will not insist on it.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to