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

kmalaussene subversion at mplayerhq.hu
Tue Feb 10 22:12:57 CET 2009


Author: kmalaussene
Date: Tue Feb 10 22:12:57 2009
New Revision: 4035

Log:
Remove empty amrnb_decode_close function.

Modified:
   amr/amrnbfloatdec.c

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Tue Feb 10 21:59:18 2009	(r4034)
+++ amr/amrnbfloatdec.c	Tue Feb 10 22:12:57 2009	(r4035)
@@ -1262,22 +1262,12 @@ static int amrnb_decode_frame(AVCodecCon
 }
 
 
-static int amrnb_decode_close(AVCodecContext *avctx)
-{
-    AMRContext *p = avctx->priv_data;
-
-    /* return 0 if everything is OK, -1 if not */
-    return 0;
-}
-
-
 AVCodec amrnb_decoder = {
     .name = "amrnb",
     .type = CODEC_TYPE_AUDIO,
     .id = CODEC_ID_AMR_NB,
     .priv_data_size = sizeof(AMRContext),
     .init = amrnb_decode_init,
-    .close = amrnb_decode_close,
     .decode = amrnb_decode_frame,
     .long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate NarrowBand"),
 };



More information about the FFmpeg-soc mailing list