Commit 3c141817 authored by Baptiste Coudurier's avatar Baptiste Coudurier

fix bitstream to be correctly decoded by quicktime

Originally committed as revision 7157 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f8567560
......@@ -905,7 +905,7 @@ static void svq1_write_header(SVQ1Context *s, int frame_type)
/* no embedded string either */
/* output 5 unknown bits (2 + 2 + 1) */
put_bits(&s->pb, 5, 0);
put_bits(&s->pb, 5, 2); /* 2 needed by quicktime decoder */
for (i = 0; i < 7; i++)
{
......
......@@ -149,7 +149,7 @@ stddev: 8.86 PSNR:29.17 bytes:7602176
14400000 ./data/a-dv.dv
fc866b8879a34f5b440647e5135e4bfb *./data/out.yuv
stddev: 8.45 PSNR:29.58 bytes:7602176
979057a09f280acd2fba3b29de6125d1 *./data/a-svq1.mov
f773501fd9152be933974676fd919ec6 *./data/a-svq1.mov
1379847 ./data/a-svq1.mov
bbff871d1475e1eee4231a08e075de2c *./data/out.yuv
stddev: 10.99 PSNR:27.30 bytes:7602176
......
......@@ -149,7 +149,7 @@ stddev: 2.99 PSNR:38.59 bytes:7602176
14400000 ./data/a-dv.dv
74b01209bb5e096d570dd4df112bb82d *./data/out.yuv
stddev: 2.98 PSNR:38.61 bytes:7602176
2905eb59262b093335b31df9f252c488 *./data/a-svq1.mov
3f5b017c714eb1e74ea0c36bc193b3dd *./data/a-svq1.mov
769547 ./data/a-svq1.mov
44777d1ddbccd0ef7f8d08394465670c *./data/out.yuv
stddev: 3.44 PSNR:37.38 bytes:7602176
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment