]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/adpcm.h
aacdec: Remove erroneous reference to global gain from the out of bounds scalefactor...
[ffmpeg] / libavcodec / adpcm.h
index aed5048d4af99d1c97d991d31d52acac8d7628dd..16facb6d0f1273699878f760520a913254d43a47 100644 (file)
 #ifndef AVCODEC_ADPCM_H
 #define AVCODEC_ADPCM_H
 
+#include <stdint.h>
+
 #define BLKSIZE 1024
 
 typedef struct ADPCMChannelStatus {
     int predictor;
-    short int step_index;
+    int16_t step_index;
     int step;
     /* for encoding */
     int prev_sample;
 
     /* MS version */
-    short sample1;
-    short sample2;
+    int16_t sample1;
+    int16_t sample2;
     int coeff1;
     int coeff2;
     int idelta;