diff options
author | Uoti Urpala <[email protected]> | 2012-03-16 05:42:26 +0200 |
---|---|---|
committer | Ronald S. Bultje <[email protected]> | 2012-03-16 15:38:18 -0700 |
commit | 05b9a89ed71846be266f283b9d188e0fcb2f0323 (patch) | |
tree | be166aa4962f435698d318eef0b47544cf01e009 /doc/APIchanges | |
parent | 7b60799aa8ebd7115e883d8eb404061e42a59f85 (diff) |
threads: fix old frames returned after avcodec_flush_buffers()
Calling avcodec_flush_buffers() and then avcodec_decode_video2() with
a 0-sized packet (to get remaining buffered frames) could incorrectly
return an old frame from before the avcodec_flush_buffers() call. Add
a loop in ff_thread_flush() to zero the got_frame field of each thread
to ensure the old frames will not be returned.
Signed-off-by: Ronald S. Bultje <[email protected]>
Diffstat (limited to 'doc/APIchanges')
0 files changed, 0 insertions, 0 deletions