summaryrefslogtreecommitdiff
path: root/libavcodec/on2avc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-19 13:36:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-19 13:39:41 +0100
commite67496fe9db3a25ac1bc08bd77eca95b79d25cac (patch)
treea0d8767b70341af1e3136c91890a07349ee3c20d /libavcodec/on2avc.c
parentc266d0e1bd56272939feb4eeee91b927a27c0953 (diff)
parentcee4490b521fd0d02476d46aa2598af24fb8d686 (diff)
downloadffmpeg-e67496fe9db3a25ac1bc08bd77eca95b79d25cac.tar.gz
Merge commit 'cee4490b521fd0d02476d46aa2598af24fb8d686'
* commit 'cee4490b521fd0d02476d46aa2598af24fb8d686': on2avc: check number of channels See: 550f3e9df3410b3dd975e590042c0d83e20a8da3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/on2avc.c')
-rw-r--r--libavcodec/on2avc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c
index 01977e5bbc..9bf5e87546 100644
--- a/libavcodec/on2avc.c
+++ b/libavcodec/on2avc.c
@@ -923,6 +923,7 @@ static av_cold int on2avc_decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "0x500 version should be mono\n");
return AVERROR_INVALIDDATA;
}
+
if (avctx->channels == 2)
av_log(avctx, AV_LOG_WARNING,
"Stereo mode support is not good, patch is welcome\n");