ffmpeg_opt: free incorrect priv_data for feed stream
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Fri, 7 Nov 2014 08:05:41 +0000 (09:05 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 8 Nov 2014 01:14:02 +0000 (02:14 +0100)
commit2b14593148e0aef6f3ca76dcc3f9f2133a066b3d
tree6011a6ae39fe1fd30374b9837d2c0ac90f4d8167
parent33301f001747d7a542073c634cc81da5eff051cf
ffmpeg_opt: free incorrect priv_data for feed stream

new_output_stream creates a codec context with arbitraty picked codec.
Later data is updated, but priv_data are left alone.
There is a bit chance there is a mismatch between codecs.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c