diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-07 13:00:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-21 04:40:03 +0100 |
commit | 91c3a829a4ed933dbf7be1adc9e47dae6a52762a (patch) | |
tree | 2544e245f9169f1e1bb163077a5cf435e50b1e39 /libavutil/x86/cpu.c | |
parent | a2933aa59a466ae4ca50c8f41a6a16bf7df35400 (diff) | |
download | ffmpeg-91c3a829a4ed933dbf7be1adc9e47dae6a52762a.tar.gz |
avcodec/mpegvideo: check that the context is initialized in ff_mpv_common_frame_size_change()
The function otherwise would initialize the context without setting context_initialized
alternatively we could set context_initialized
Fixes valgrind anomalies related to ticket 3928
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0d0f7f0ba43f64312ae4a05d97afecf1b7b1330c)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/cpu.c')
0 files changed, 0 insertions, 0 deletions