comparison aac.h @ 10491:74e51b86b934 libavcodec

Don't lock the channel output configuration based on the first value seen for non extradata formats. Instead lock it only after the successful decoding of a frame. This fixes issue 999.
author alexc
date Tue, 03 Nov 2009 22:50:02 +0000
parents 38ab367d4231
children 2474aceea736
comparison
equal deleted inserted replaced
10490:27750570f2d4 10491:74e51b86b934
98 */ 98 */
99 enum CouplingPoint { 99 enum CouplingPoint {
100 BEFORE_TNS, 100 BEFORE_TNS,
101 BETWEEN_TNS_AND_IMDCT, 101 BETWEEN_TNS_AND_IMDCT,
102 AFTER_IMDCT = 3, 102 AFTER_IMDCT = 3,
103 };
104
105 /**
106 * Output configuration status
107 */
108 enum OCStatus {
109 OC_NONE, //< Output unconfigured
110 OC_TRIAL_PCE, //< Output configuration under trial specified by an inband PCE
111 OC_TRIAL_FRAME, //< Output configuration under trial specified by a frame header
112 OC_LOCKED, //< Output configuration locked in place
103 }; 113 };
104 114
105 /** 115 /**
106 * Predictor State 116 * Predictor State
107 */ 117 */
273 int sf_offset; ///< offset into pow2sf_tab as appropriate for dsp.float_to_int16 283 int sf_offset; ///< offset into pow2sf_tab as appropriate for dsp.float_to_int16
274 /** @} */ 284 /** @} */
275 285
276 DECLARE_ALIGNED(16, float, temp[128]); 286 DECLARE_ALIGNED(16, float, temp[128]);
277 287
278 int output_configured; 288 enum OCStatus output_configured;
279 } AACContext; 289 } AACContext;
280 290
281 #endif /* AVCODEC_AAC_H */ 291 #endif /* AVCODEC_AAC_H */