h264: make flush_change() set mmco_reset
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Oct 2013 23:22:38 +0000 (01:22 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 26 Oct 2013 00:41:31 +0000 (02:41 +0200)
commit1d0e58372885aa29a3c0f856bec522bd41b0307e
treecd58412b9bce7f3195ca42ba9eb1b02891e43cdc
parent782331be1eb23717a2c7633f8e364f0e833275e4
h264: make flush_change() set mmco_reset

This ensures that frames do not get mixed on context reinits

Fixes Ticket2836

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3c9dd93faa9f3c250428dd0548c075583aa07cc3)
libavcodec/h264.c