Merge commit 'cee4490b52'
* commit 'cee4490b52': on2avc: check number of channels See:550f3e9df3Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
e67496fe9d
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue