]> git.sesse.net Git - mlt/commit
fix segfault on failure to decode with multi-threaded decoding
authorDan Dennedy <dan@dennedy.org>
Thu, 15 Mar 2012 05:27:14 +0000 (22:27 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 15 Mar 2012 05:27:14 +0000 (22:27 -0700)
commit19f614aef3377530072cec08043757d299f03982
tree7ff2f8b03af8da548fdc5d87f798ffac91eb09ab
parent47e40a51d795217ae23fe4114cc049625a153cd2
fix segfault on failure to decode with multi-threaded decoding

self->got_picture was somewhat redundant with self->av_frame, but not
synchronized and not ever really reset. So, just remove that state and
use the state of self->av_frame and local got_picture.
src/modules/avformat/producer_avformat.c