avcodec: validate the channel layout vs. channel count for decoders
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 4 Apr 2012 14:47:45 +0000 (10:47 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 8 Apr 2012 22:45:58 +0000 (18:45 -0400)
commit1337de0c4bea8bbf8e142e8401edd0b25dd059b5
treef2963e4c2b775c20baeaec37d960b2e018dbf284
parentb2db35995f056720cc4e932d507ea09c0106bce9
avcodec: validate the channel layout vs. channel count for decoders

Set avctx->channel_layout to 0 if the channel count does not match
avctx->channels.
libavcodec/utils.c