Commit 956dae9e authored by Aurelien Jacobs's avatar Aurelien Jacobs

adu and mp3on4 functions are also needed by their respective float decoders

Originally committed as revision 23944 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 060dd930
...@@ -2124,7 +2124,7 @@ static void flush(AVCodecContext *avctx){ ...@@ -2124,7 +2124,7 @@ static void flush(AVCodecContext *avctx){
s->last_buf_size= 0; s->last_buf_size= 0;
} }
#if CONFIG_MP3ADU_DECODER #if CONFIG_MP3ADU_DECODER || CONFIG_MP3ADUFLOAT_DECODER
static int decode_frame_adu(AVCodecContext * avctx, static int decode_frame_adu(AVCodecContext * avctx,
void *data, int *data_size, void *data, int *data_size,
AVPacket *avpkt) AVPacket *avpkt)
...@@ -2174,9 +2174,9 @@ static int decode_frame_adu(AVCodecContext * avctx, ...@@ -2174,9 +2174,9 @@ static int decode_frame_adu(AVCodecContext * avctx,
*data_size = out_size; *data_size = out_size;
return buf_size; return buf_size;
} }
#endif /* CONFIG_MP3ADU_DECODER */ #endif /* CONFIG_MP3ADU_DECODER || CONFIG_MP3ADUFLOAT_DECODER */
#if CONFIG_MP3ON4_DECODER #if CONFIG_MP3ON4_DECODER || CONFIG_MP3ON4FLOAT_DECODER
/** /**
* Context for MP3On4 decoder * Context for MP3On4 decoder
...@@ -2340,7 +2340,7 @@ static int decode_frame_mp3on4(AVCodecContext * avctx, ...@@ -2340,7 +2340,7 @@ static int decode_frame_mp3on4(AVCodecContext * avctx,
*data_size = out_size; *data_size = out_size;
return buf_size; return buf_size;
} }
#endif /* CONFIG_MP3ON4_DECODER */ #endif /* CONFIG_MP3ON4_DECODER || CONFIG_MP3ON4FLOAT_DECODER */
#if !CONFIG_FLOAT #if !CONFIG_FLOAT
#if CONFIG_MP1_DECODER #if CONFIG_MP1_DECODER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment