[FFmpeg-soc] [soc]: r2958 - in aacenc: aacpsy.c aacpsy.h

kostya subversion at mplayerhq.hu
Thu Jul 31 18:57:40 CEST 2008


Author: kostya
Date: Thu Jul 31 18:57:40 2008
New Revision: 2958

Log:
Store model flags in context

Modified:
   aacenc/aacpsy.c
   aacenc/aacpsy.h

Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c	(original)
+++ aacenc/aacpsy.c	Thu Jul 31 18:57:40 2008
@@ -829,6 +829,7 @@ int av_cold ff_aac_psy_init(AACPsyContex
         pow2sf_tab[i] = pow(2, (i - 200)/4.);
 
     ctx->avctx = avctx;
+    ctx->flags = flags;
     ctx->bands1024 = bands1024;
     ctx->num_bands1024 = num_bands1024;
     ctx->bands128 = bands128;

Modified: aacenc/aacpsy.h
==============================================================================
--- aacenc/aacpsy.h	(original)
+++ aacenc/aacpsy.h	Thu Jul 31 18:57:40 2008
@@ -41,6 +41,7 @@ typedef struct AACPsyContext {
     AVCodecContext *avctx;
     DSPContext dsp;
 
+    int flags;
     int window_type[2];
     int window_shape[2];
     const uint8_t *bands1024;



More information about the FFmpeg-soc mailing list