• Vladimir Voroshilov's avatar
    Fix MJPEG decoder for AMV files. · 3c3704d2
    Vladimir Voroshilov authored
    Since decoding is doing from the end and aligned by 16
    previous code worked correctly only when picture height was dividable by 16,
    otherwise it provides garbage in top lines and truncates bottom.
    New code adjusts data[] pointers taking in account alignment issue.
    
    Originally committed as revision 10727 to svn://svn.ffmpeg.org/ffmpeg/trunk
    3c3704d2
mjpegdec.c 45.4 KB