avcodec/mpegvideo_enc: Clear mmx state in ff_mpv_reallocate_putbitbuffer()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Oct 2016 12:05:00 +0000 (14:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Oct 2016 17:33:04 +0000 (19:33 +0200)
commit6456a7416e8f04f75752ce6174372e2fc6271a80
treee0ab8cdd4f9680c87f429abb8aac36721bef4d0b
parentde487cb765ca5e4ecf600942809ca2d61cdbba81
avcodec/mpegvideo_enc: Clear mmx state in ff_mpv_reallocate_putbitbuffer()

This function must be called from the mb or slice encoding loop and MMX state may not
be clean there

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 03ec6b780cfae85b8bf0f32b2eda201063ad061b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpegvideo_enc.c