mirror of https://git.ffmpeg.org/ffmpeg.git
Bugfix for bug introduced in the multichannel cook patchset.
Originally committed as revision 18842 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
13bd2044d3
commit
e5cd2d3dca
|
@ -1141,9 +1141,10 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
|
||||||
av_log(avctx,AV_LOG_DEBUG,"MONO\n");
|
av_log(avctx,AV_LOG_DEBUG,"MONO\n");
|
||||||
break;
|
break;
|
||||||
case STEREO:
|
case STEREO:
|
||||||
if (q->nb_channels != 1)
|
if (q->nb_channels != 1) {
|
||||||
q->subpacket[s].bits_per_subpdiv = 1;
|
q->subpacket[s].bits_per_subpdiv = 1;
|
||||||
q->subpacket[s].num_channels = 2;
|
q->subpacket[s].num_channels = 2;
|
||||||
|
}
|
||||||
av_log(avctx,AV_LOG_DEBUG,"STEREO\n");
|
av_log(avctx,AV_LOG_DEBUG,"STEREO\n");
|
||||||
break;
|
break;
|
||||||
case JOINT_STEREO:
|
case JOINT_STEREO:
|
||||||
|
|
Loading…
Reference in New Issue