Changeset 53b6503 in ffmpeg


Ignore:
Timestamp:
Dec 17, 2011, 2:25:46 AM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
4d70023a
Parents:
9af6abdc
Message:

avienc: Fix rawvideo 32bit
Bug found by: Rik Maes <rik.maes54@gmail.com>
Change based on suggestion by Rik Maes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • libavformat/riff.c

    r9af6abdc r53b6503  
    520520    /* compression type */
    521521    avio_wl32(pb, enc->codec_tag);
    522     avio_wl32(pb, enc->width * enc->height * 3);
     522    avio_wl32(pb, (enc->width * enc->height * (enc->bits_per_coded_sample ? enc->bits_per_coded_sample : 24)+7) / 8);
    523523    avio_wl32(pb, 0);
    524524    avio_wl32(pb, 0);
  • tests/ref/vsynth1/huffyuv

    r9af6abdc r53b6503  
    1 ace2536fa169d835d0fb332abde28d51 *./tests/data/vsynth1/huffyuv.avi
     1f5f2e109af0612694ff3cd6464063e82 *./tests/data/vsynth1/huffyuv.avi
    227933800 ./tests/data/vsynth1/huffyuv.avi
    33c5ccac874dbf808e9088bc3107860042 *./tests/data/huffyuv.vsynth1.out.yuv
  • tests/ref/vsynth1/yuv

    r9af6abdc r53b6503  
    1 aa6b9e862aebcf8902a6d770e7729d59 *./tests/data/vsynth1/yuv.avi
     1eaa66c3b27a2602e882befe154a8b119 *./tests/data/vsynth1/yuv.avi
    227610060 ./tests/data/vsynth1/yuv.avi
    33c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv.vsynth1.out.yuv
  • tests/ref/vsynth2/huffyuv

    r9af6abdc r53b6503  
    1 56cd44907a48990e06bd065e189ff461 *./tests/data/vsynth2/huffyuv.avi
     1ed66182be0d515e8b6cb970ad63162da *./tests/data/vsynth2/huffyuv.avi
    226455232 ./tests/data/vsynth2/huffyuv.avi
    33dde5895817ad9d219f79a52d0bdfb001 *./tests/data/huffyuv.vsynth2.out.yuv
  • tests/ref/vsynth2/yuv

    r9af6abdc r53b6503  
    1 30a400773ab26f2c83e469198b156f1d *./tests/data/vsynth2/yuv.avi
     13d5ee6d2023bc15bba898819e4977e46 *./tests/data/vsynth2/yuv.avi
    227610060 ./tests/data/vsynth2/yuv.avi
    33dde5895817ad9d219f79a52d0bdfb001 *./tests/data/yuv.vsynth2.out.yuv
Note: See TracChangeset for help on using the changeset viewer.