]> git.sesse.net Git - ffmpeg/commit
binkaudio: fix channel count check
authorPeter Ross <pross@xvid.org>
Tue, 15 Feb 2011 11:58:51 +0000 (11:58 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 15 Feb 2011 14:20:19 +0000 (14:20 +0000)
commit9806fbd5351fa84f99fa5b18fe06859acb514f34
treea7a805cbdcec74cc74f4e879960b0d7f9c1b6b80
parentd06497f316ed819ea0ca0fad2535342ec42c79a5
binkaudio: fix channel count check

Perform validity check on AVFormatContext.channels instead of
uninitialised field.

This fixes issue 2001.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/binkaudio.c