summaryrefslogtreecommitdiff
path: root/libavcodec/atrac3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-24 14:18:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-24 14:18:17 +0200
commit719fde47ca641edd4321f384579438f930bc50eb (patch)
tree577820b177126467a82a115aebf759cd04611d78 /libavcodec/atrac3.c
parent5cf794e0c1f7b651de4b1a61a6786fb71e9679b3 (diff)
parentc68317ebbe4915035df0b08c23eea7a0b80ab881 (diff)
downloadffmpeg-719fde47ca641edd4321f384579438f930bc50eb.tar.gz
Merge commit 'c68317ebbe4915035df0b08c23eea7a0b80ab881'
* commit 'c68317ebbe4915035df0b08c23eea7a0b80ab881': lavc: fix documentation for AVCodecContext.delay atrac3: return an error if extradata_size is not a specific known size lavc: use the correct API version guard macro for avcodec_encode_audio() Move Doxyfile into the doc/ subdirectory doxygen: Build Doxygen documentation in the doc/ subdirectory dfa: use av_memcpy_backptr() where previously impossible av_memcpy_backptr: Drop no longer necessary malloc padding Conflicts: .gitignore libavcodec/avcodec.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r--libavcodec/atrac3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index 02047ef5f9..abc2927840 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -913,6 +913,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
} else {
av_log(NULL, AV_LOG_ERROR, "Unknown extradata size %d.\n",
avctx->extradata_size);
+ return AVERROR(EINVAL);
}
/* Check the extradata */