• voroshil's avatar
    Fix MJPEG decoder for AMV files. · 8b29d5b5
    voroshil 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.
    
    
    
    git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10727 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
    8b29d5b5
mjpegdec.c 45.4 KB