summaryrefslogtreecommitdiff
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-22 13:53:22 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-22 13:53:22 +0000
commit3c1418175da3085cfd383543de9f0a61947e1df4 (patch)
treeb9e29634f26738965c88567de53e5ea18e3eac98 /libavcodec/svq1.c
parentf85675605973e96ced1dff1f00d12a32f3f0a2fb (diff)
downloadffmpeg-3c1418175da3085cfd383543de9f0a61947e1df4.tar.gz
fix bitstream to be correctly decoded by quicktime
Originally committed as revision 7157 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c2
1 files changed, 1 insertions, 1 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++)
{