[Ffmpeg-cvslog] r7864 - trunk/libavcodec/wmaenc.c

michael subversion
Wed Feb 7 00:58:03 CET 2007


Author: michael
Date: Wed Feb  7 00:58:02 2007
New Revision: 7864

Modified:
   trunk/libavcodec/wmaenc.c

Log:
workaround sign bug


Modified: trunk/libavcodec/wmaenc.c
==============================================================================
--- trunk/libavcodec/wmaenc.c	(original)
+++ trunk/libavcodec/wmaenc.c	Wed Feb  7 00:58:02 2007
@@ -290,7 +290,7 @@
                         put_bits(&s->pb, coef_nb_bits, abs_level);
                         put_bits(&s->pb, s->frame_len_bits, run);
                     }
-                    put_bits(&s->pb, 1, level > 0);
+                    put_bits(&s->pb, 1, level < 0); //FIXME the sign is fliped somewhere
                     run=0;
                 }else{
                     run++;




More information about the ffmpeg-cvslog mailing list