Commit 9c5ba7af authored by banan's avatar banan

Bugfix for bug introduced in the multichannel cook patchset.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18842 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6e746b6b
......@@ -1141,9 +1141,10 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
av_log(avctx,AV_LOG_DEBUG,"MONO\n");
break;
case STEREO:
if (q->nb_channels != 1)
if (q->nb_channels != 1) {
q->subpacket[s].bits_per_subpdiv = 1;
q->subpacket[s].num_channels = 2;
}
av_log(avctx,AV_LOG_DEBUG,"STEREO\n");
break;
case JOINT_STEREO:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment