yop: Do not keep a copy of parts of the returned packet
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Mar 2013 22:59:41 +0000 (23:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 29 Mar 2013 01:11:34 +0000 (02:11 +0100)
commit551f683861bbae1002542e70dc196244a1cd24ad
tree9e13befc907d0d31c950f267f2eb6c49f97bdae3
parent6ae03353de664d670b32c33726f81758646f99e6
yop: Do not keep a copy of parts of the returned packet

Fixes double free
Regression since the new buffer references, thus no FFmpeg
releases should be affected

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/yop.c