Fix nonsense non-mod16 AMV flipping code.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 28 Apr 2012 21:37:08 +0000 (23:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Jun 2014 17:47:07 +0000 (19:47 +0200)
commit6d695d7acc4cb1da84eb73710e05a4c090e5ab31
tree444928cbecc1b2963f3eaf58c9b8ded047e1c106
parent527f5cbf64e7ac7fe265a244ebf36650e50921dc
Fix nonsense non-mod16 AMV flipping code.

It is obviously nonsense since it produces wrong results
or even crashes (crashes should be encode-only though).
Fixes trac issue #1092.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegenc.c
libavcodec/mpegvideo_enc.c