diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-22 13:53:22 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-22 13:53:22 +0000 |
commit | 3c1418175da3085cfd383543de9f0a61947e1df4 (patch) | |
tree | b9e29634f26738965c88567de53e5ea18e3eac98 | |
parent | f85675605973e96ced1dff1f00d12a32f3f0a2fb (diff) | |
download | ffmpeg-3c1418175da3085cfd383543de9f0a61947e1df4.tar.gz |
fix bitstream to be correctly decoded by quicktime
Originally committed as revision 7157 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/svq1.c | 2 | ||||
-rw-r--r-- | tests/ffmpeg.regression.ref | 2 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index 957176e386..5e86162696 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -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++) { diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index 328586aa41..d4200c5750 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -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 diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index 53aa438e6e..8554c5f6a7 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -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 |