diff options
author | Marton Balint <cus@passwd.hu> | 2012-05-24 23:22:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-27 16:12:02 +0200 |
commit | f6c3fe94daa41aa24a839432d87e857242a343a5 (patch) | |
tree | 52af2188809e73d38a3c6a8988216b7317ae607c /libavformat/mpegenc.c | |
parent | 727749d30f1ddf1f6ca241f3b0e7c5b93433c96f (diff) | |
download | ffmpeg-f6c3fe94daa41aa24a839432d87e857242a343a5.tar.gz |
ffplay: flush codec buffers before freeing filters
We do this to ensure that input_get_buffer is not called from a
frame_worker_thread of a multithreaded decoder when we already freed the
filters.
Fixes occasional segfaults on video stream change.
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit c2e8691c07ca52de7b6b00ba8f2b30c56fd786d7)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegenc.c')
0 files changed, 0 insertions, 0 deletions