comparison wmadec.c @ 5517:998ed46cfa66 libavcodec

fix compilation with TRACE enabled
author alex
date Thu, 09 Aug 2007 00:54:41 +0000
parents 9f8219a3b86f
children d2ef80f5fd7e
comparison
equal deleted inserted replaced
5516:da33495f0621 5517:998ed46cfa66
46 #define HGAINMAX ((13+HGAINVLCBITS-1)/HGAINVLCBITS) 46 #define HGAINMAX ((13+HGAINVLCBITS-1)/HGAINVLCBITS)
47 47
48 static void wma_lsp_to_curve_init(WMACodecContext *s, int frame_len); 48 static void wma_lsp_to_curve_init(WMACodecContext *s, int frame_len);
49 49
50 #ifdef TRACE 50 #ifdef TRACE
51 static void dump_shorts(WMADecodeContext *s, const char *name, const short *tab, int n) 51 static void dump_shorts(WMACodecContext *s, const char *name, const short *tab, int n)
52 { 52 {
53 int i; 53 int i;
54 54
55 tprintf(s->avctx, "%s[%d]:\n", name, n); 55 tprintf(s->avctx, "%s[%d]:\n", name, n);
56 for(i=0;i<n;i++) { 56 for(i=0;i<n;i++) {
60 if ((i & 7) == 7) 60 if ((i & 7) == 7)
61 tprintf(s->avctx, "\n"); 61 tprintf(s->avctx, "\n");
62 } 62 }
63 } 63 }
64 64
65 static void dump_floats(WMADecodeContext *s, const char *name, int prec, const float *tab, int n) 65 static void dump_floats(WMACodecContext *s, const char *name, int prec, const float *tab, int n)
66 { 66 {
67 int i; 67 int i;
68 68
69 tprintf(s->avctx, "%s[%d]:\n", name, n); 69 tprintf(s->avctx, "%s[%d]:\n", name, n);
70 for(i=0;i<n;i++) { 70 for(i=0;i<n;i++) {