]> git.sesse.net Git - ffmpeg/commit
lavc: set channel count from channel layout in avcodec_open2().
authorAnton Khirnov <anton@khirnov.net>
Fri, 28 Sep 2012 18:46:20 +0000 (20:46 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 29 Sep 2012 07:25:40 +0000 (09:25 +0200)
commit12e1e834611afed8121ccc368a83e7eb5c564565
tree66f087bfa19f9e5164ccd4a5038cfd60be174095
parent7d1d4469902bbbdcb225eedd64f84c884cffbc2d
lavc: set channel count from channel layout in avcodec_open2().

Some decoders (e.g. nellymoser) only set channel_layout and do not set
channel count.
libavcodec/utils.c