diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2010-11-02 08:28:55 +0000 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2010-11-02 08:28:55 +0000 |
commit | be63b4ba22a3b1961599fb8cfe4a513693023e13 (patch) | |
tree | e741336b819047cd40f15d586621feaa7a9a9afd | |
parent | 37d289530f6fb34c851c5dd05b12c5359a666a2f (diff) | |
download | ffmpeg-be63b4ba22a3b1961599fb8cfe4a513693023e13.tar.gz |
aacdec: return consumed bits in decode_audio_specific_config
Originally committed as revision 25639 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/aacdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 7aaa87d5f1..61affd6f6e 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -439,7 +439,7 @@ static int decode_ga_specific_config(AACContext *ac, GetBitContext *gb, * @param data pointer to AVCodecContext 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, MPEG4AudioConfig *m4ac, void *data, @@ -473,7 +473,7 @@ static int decode_audio_specific_config(AACContext *ac, return -1; } - return 0; + return get_bits_count(&gb); } /** |