[Ffmpeg-cvslog] r7140 - trunk/libavcodec/amr.c

gpoirier subversion
Mon Nov 20 21:41:31 CET 2006


Author: gpoirier
Date: Mon Nov 20 21:41:31 2006
New Revision: 7140

Modified:
   trunk/libavcodec/amr.c

Log:
Fix declaration and code thingie


Modified: trunk/libavcodec/amr.c
==============================================================================
--- trunk/libavcodec/amr.c	(original)
+++ trunk/libavcodec/amr.c	Mon Nov 20 21:41:31 2006
@@ -625,8 +625,9 @@
 static int amr_wb_encode_frame(AVCodecContext *avctx,
                             unsigned char *frame/*out*/, int buf_size, void *data/*in*/)
 {
-    AMRWBContext *s = (AMRWBContext*) avctx->priv_data;
+    AMRWBContext *s;
     int size;
+    s = (AMRWBContext*) avctx->priv_data;
     s->mode=getWBBitrateMode(avctx->bit_rate);
     size = E_IF_encode(s->state, s->mode, data, frame, s->allow_dtx);
     return size;




More information about the ffmpeg-cvslog mailing list