[FFmpeg-devel] [PATCH 10/15] g723_1: Fix warning about discarded qualifier

jamal jamrial at gmail.com
Fri Jul 27 10:23:20 CEST 2012


---
 libavcodec/g723_1.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c
index c7f6ac9..06f53f5 100644
--- a/libavcodec/g723_1.c
+++ b/libavcodec/g723_1.c
@@ -2138,7 +2138,7 @@ static int g723_1_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
     int16_t weighted_lpc[LPC_ORDER * SUBFRAMES << 1];
     int16_t vector[FRAME_LEN + PITCH_MAX];
     int offset, ret;
-    int16_t *in = (const int16_t *)frame->data[0];
+    int16_t *in = (int16_t *)frame->data[0];
 
     HFParam hf[4];
     int i, j;
-- 
1.7.8.6



More information about the ffmpeg-devel mailing list