aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2012-05-24 23:22:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-27 16:12:02 +0200
commitf6c3fe94daa41aa24a839432d87e857242a343a5 (patch)
tree52af2188809e73d38a3c6a8988216b7317ae607c /libavformat/mpegenc.c
parent727749d30f1ddf1f6ca241f3b0e7c5b93433c96f (diff)
downloadffmpeg-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