]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wma.h
Use "!exp" instead of "exp == NULL" in if condition.
[ffmpeg] / libavcodec / wma.h
index 6db60fafdb0e1ca73593e4a12249b485b4505965..b6c29433bbf4d6c52d05cd63b158a51c76cd0064 100644 (file)
@@ -93,7 +93,7 @@ typedef struct WMACodecContext {
 //FIXME the following 3 tables should be shared between decoders
     VLC coef_vlc[2];
     uint16_t *run_table[2];
-    uint16_t *level_table[2];
+    float *level_table[2];
     uint16_t *int_table[2];
     const CoefVLCTable *coef_vlcs[2];
     /* frame info */
@@ -153,7 +153,7 @@ int ff_wma_end(AVCodecContext *avctx);
 unsigned int ff_wma_get_large_val(GetBitContext* gb);
 int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb,
                             VLC *vlc,
-                            const uint16_t *level_table, const uint16_t *run_table,
+                            const float *level_table, const uint16_t *run_table,
                             int version, WMACoef *ptr, int offset,
                             int num_coefs, int block_len, int frame_len_bits,
                             int coef_nb_bits);