[FFmpeg-devel] [RFC]Possible problem in avio.c

Carl Eugen Hoyos cehoyos
Mon Dec 22 11:04:52 CET 2008

Aurelien Jacobs <aurel <at> gnuage.org> writes:


> init_put_byte() calls url_resetbuf() before initializing s->opaque.
> Then url_resetbuf() access s->opaque as a URLContext pointer...
> So init_put_byte() should really initialize s->opaque before
> calling url_resetbuf().
> See attached patch.

The patch fixes the crashes for me!

Michael, you are maintainer, is the patch ok?

Thank you for looking into this, Carl Eugen

More information about the ffmpeg-devel mailing list