avformat demux: fix double free()
Allocate avformat context and set its I/O context before using it This is the correct way to it (and is documented in avformat.h) (cherry picked from commit c5f388e8e37f38b4526fbca379305a918dd12141) Signed-off-by: KO Myung-Hun <komh@chollian.net> Signed-off-by: Rafaël Carré <funman@videolan.org>
Showing
Please register or sign in to comment