diff svq1.c @ 4229:304255e80196 libavcodec

fix bitstream to be correctly decoded by quicktime
author bcoudurier
date Wed, 22 Nov 2006 13:53:22 +0000
parents 1cffc7036079
children fc155ff94878
line wrap: on
line diff
--- a/svq1.c	Wed Nov 22 13:24:58 2006 +0000
+++ b/svq1.c	Wed Nov 22 13:53:22 2006 +0000
@@ -905,7 +905,7 @@
         /* 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++)
         {