ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Tue Jan 26 23:33:55 2016 +0100| [11bc4fd653fab05a9e24f7aca22c913ffb238b5a] | committer: Paul B Mahol
avcodec/dvaudiodec: only stereo makes sense Signed-off-by: Paul B Mahol <one...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=11bc4fd653fab05a9e24f7aca22c913ffb238b5a --- libavcodec/dvaudiodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dvaudiodec.c b/libavcodec/dvaudiodec.c index 84db509..1df3edf 100644 --- a/libavcodec/dvaudiodec.c +++ b/libavcodec/dvaudiodec.c @@ -34,7 +34,7 @@ static av_cold int decode_init(AVCodecContext *avctx) DVAudioContext *s = avctx->priv_data; int i; - if (avctx->channels > 2) { + if (avctx->channels != 2) { av_log(avctx, AV_LOG_ERROR, "invalid number of channels\n"); return AVERROR(EINVAL); } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog