[FFmpeg-soc] [soc]: r4314 - amr/amrnbfloatdec.c

cmcq subversion at mplayerhq.hu
Tue May 26 16:25:35 CEST 2009


Author: cmcq
Date: Tue May 26 16:25:35 2009
New Revision: 4314

Log:
Update for AVCodec change

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Mon May 25 22:34:38 2009	(r4313)
+++ amr/amrnbfloatdec.c	Tue May 26 16:25:35 2009	(r4314)
@@ -914,10 +914,12 @@ static void update_state(AMRContext *p)
 
 
 static int amrnb_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                              const uint8_t *buf, int buf_size)
+                              AVPacket *avpkt)
 {
 
     AMRContext *p = avctx->priv_data;        // pointer to private data
+    const uint8_t *buf = avpkt->data;
+    int buf_size       = avpkt->size;
     float *buf_out = data;                   // pointer to the output data buffer
     int i, subframe;                         // counters
     enum Mode speech_mode = MODE_475;        // ???


More information about the FFmpeg-soc mailing list