Commit 3c9dd93f authored by Michael Niedermayer's avatar Michael Niedermayer

h264: make flush_change() set mmco_reset

This ensures that frames do not get mixed on context reinits

Fixes Ticket2836
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2cf94485
......@@ -2772,6 +2772,7 @@ static void flush_change(H264Context *h)
h->sync= 0;
h->list_count = 0;
h->current_slice = 0;
h->mmco_reset = 1;
}
/* forget old pics after a seek */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment