]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/adpcm.h
aacdec: reset max_sfb on invalid data.
[ffmpeg] / libavcodec / adpcm.h
index 475719adf5934d4644bbd334c08275d15837e286..08fd23f87b55bb5415a77f0be8ce60fa4804f554 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;