[Ffmpeg-cvslog] r7863 - trunk/libavcodec/wmaenc.c
michael
subversion
Tue Feb 6 23:20:55 CET 2007
Author: michael
Date: Tue Feb 6 23:20:55 2007
New Revision: 7863
Modified:
trunk/libavcodec/wmaenc.c
Log:
10l use of uninitalized var
Modified: trunk/libavcodec/wmaenc.c
==============================================================================
--- trunk/libavcodec/wmaenc.c (original)
+++ trunk/libavcodec/wmaenc.c Tue Feb 6 23:20:55 2007
@@ -179,7 +179,7 @@
}
for(ch = 0; ch < s->nb_channels; ch++) {
- if (s->channel_coded[ch]) {
+ if (s->channel_coded[ch]= 1) { //FIXME
init_exp(s, ch, fixed_exp);
}
}
@@ -213,7 +213,7 @@
v = 0;
for(ch = 0; ch < s->nb_channels; ch++) {
- int a = s->channel_coded[ch]=1; //FIXME
+ int a = s->channel_coded[ch];
put_bits(&s->pb, 1, a);
v |= a;
}
More information about the ffmpeg-cvslog
mailing list