]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3enc.c
Bump version and update APIchanges after r25210.
[ffmpeg] / libavcodec / ac3enc.c
index edae9a92bfeb5f2b254220bdb4212c416ab74d38..ea8ba8b496a378a768607a0b41c60f25456a737c 100644 (file)
@@ -1181,7 +1181,7 @@ static int AC3_encode_frame(AVCodecContext *avctx,
                             unsigned char *frame, int buf_size, void *data)
 {
     AC3EncodeContext *s = avctx->priv_data;
-    int16_t *samples = data;
+    const int16_t *samples = data;
     int i, j, k, v, ch;
     int16_t input_samples[N];
     int32_t mdct_coef[NB_BLOCKS][AC3_MAX_CHANNELS][N/2];
@@ -1197,7 +1197,7 @@ static int AC3_encode_frame(AVCodecContext *avctx,
         int ich = s->channel_map[ch];
         /* fixed mdct to the six sub blocks & exponent computation */
         for(i=0;i<NB_BLOCKS;i++) {
-            int16_t *sptr;
+            const int16_t *sptr;
             int sinc;
 
             /* compute input samples */