diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-20 12:21:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-20 12:21:31 +0100 |
commit | 849f55368c3609d962adf5a729e192de9027b165 (patch) | |
tree | 3a1045bbd68ddf490c891e37349be2ffc96f89ce | |
parent | b86c2640f65444981718d74dedb85a249d66435c (diff) | |
parent | 48952116352ab03565cc14805e0f1d63cf0318fe (diff) | |
download | ffmpeg-849f55368c3609d962adf5a729e192de9027b165.tar.gz |
Merge commit '48952116352ab03565cc14805e0f1d63cf0318fe' into release/2.4
* commit '48952116352ab03565cc14805e0f1d63cf0318fe':
on2avc: check number of channels
See: 550f3e9df3410b3dd975e590042c0d83e20a8da3
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/on2avc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c index e5e7cc3879..2ad88d106e 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"); |