Commit be63b4ba authored by Janne Grunau's avatar Janne Grunau
Browse files

aacdec: return consumed bits in decode_audio_specific_config

Originally committed as revision 25639 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 37d28953
...@@ -439,7 +439,7 @@ static int decode_ga_specific_config(AACContext *ac, GetBitContext *gb, ...@@ -439,7 +439,7 @@ static int decode_ga_specific_config(AACContext *ac, GetBitContext *gb,
* @param data pointer to AVCodecContext extradata * @param data pointer to AVCodecContext extradata
* @param data_size size of AVCCodecContext extradata * @param data_size size of AVCCodecContext extradata
* *
* @return Returns error status. 0 - OK, !0 - error * @return Returns error status or number of consumed bits. <0 - error
*/ */
static int decode_audio_specific_config(AACContext *ac, static int decode_audio_specific_config(AACContext *ac,
MPEG4AudioConfig *m4ac, void *data, MPEG4AudioConfig *m4ac, void *data,
...@@ -473,7 +473,7 @@ static int decode_audio_specific_config(AACContext *ac, ...@@ -473,7 +473,7 @@ static int decode_audio_specific_config(AACContext *ac,
return -1; return -1;
} }
return 0; return get_bits_count(&gb);
} }
/** /**
......
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