Unified · Split
| @@ -337,8 +337,8 @@ FF_DISABLE_DEPRECATION_WARNINGS · 336 unmodified lines | |||
| 337 | mh.num_substreams > 1) { | 337 | mh.num_substreams > 1) { |
| 338 | avctx->channels = 2; | 338 | avctx->channels = 2; |
| 339 | avctx->channel_layout = AV_CH_LAYOUT_STEREO; | 339 | avctx->channel_layout = AV_CH_LAYOUT_STEREO; |
| 340 | } else | ||
| 341 | FF_ENABLE_DEPRECATION_WARNINGS | 340 | FF_ENABLE_DEPRECATION_WARNINGS |
| 341 | } else | ||
| 342 | #endif | 342 | #endif |
| 343 | if (avctx->request_channel_layout == AV_CH_LAYOUT_STEREO && | 343 | if (avctx->request_channel_layout == AV_CH_LAYOUT_STEREO && |
| 344 | mh.num_substreams > 1) { | 344 | mh.num_substreams > 1) { |
| @@ -360,8 +360,8 @@ FF_DISABLE_DEPRECATION_WARNINGS · 15 unmodified lines | |||
| 360 | avctx->request_channels <= mh.channels_thd_stream1) { | 360 | avctx->request_channels <= mh.channels_thd_stream1) { |
| 361 | avctx->channels = mh.channels_thd_stream1; | 361 | avctx->channels = mh.channels_thd_stream1; |
| 362 | avctx->channel_layout = mh.channel_layout_thd_stream1; | 362 | avctx->channel_layout = mh.channel_layout_thd_stream1; |
| 363 | } else | ||
| 364 | FF_ENABLE_DEPRECATION_WARNINGS | 363 | FF_ENABLE_DEPRECATION_WARNINGS |
| 364 | } else | ||
| 365 | #endif | 365 | #endif |
| 366 | if (avctx->request_channel_layout == AV_CH_LAYOUT_STEREO && | 366 | if (avctx->request_channel_layout == AV_CH_LAYOUT_STEREO && |
| 367 | mh.num_substreams > 1) { | 367 | mh.num_substreams > 1) { |
| @@ -471,8 +471,8 @@ FF_DISABLE_DEPRECATION_WARNINGS · 470 unmodified lines | |||
| 471 | "Further substreams will be skipped.\n", | 471 | "Further substreams will be skipped.\n", |
| 472 | s->max_channel + 1, substr); | 472 | s->max_channel + 1, substr); |
| 473 | m->max_decoded_substream = substr; | 473 | m->max_decoded_substream = substr; |
| 474 | } else | ||
| 475 | FF_ENABLE_DEPRECATION_WARNINGS | 474 | FF_ENABLE_DEPRECATION_WARNINGS |
| 475 | } else | ||
| 476 | #endif | 476 | #endif |
| 477 | if (m->avctx->request_channel_layout == s->ch_layout && | 477 | if (m->avctx->request_channel_layout == s->ch_layout && |
| 478 | m->max_decoded_substream > substr) { | 478 | m->max_decoded_substream > substr) { |