mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/iamf_parse: fix yet annother logical coding error
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
0c03f4c6b9
commit
04cb307508
|
@ -931,7 +931,7 @@ static int mix_presentation_obu(void *s, IAMFContext *c, AVIOContext *pb, int le
|
||||||
}
|
}
|
||||||
|
|
||||||
submix_layout->layout_type = byte >> 6;
|
submix_layout->layout_type = byte >> 6;
|
||||||
if (submix_layout->layout_type < AV_IAMF_SUBMIX_LAYOUT_TYPE_LOUDSPEAKERS &&
|
if (submix_layout->layout_type < AV_IAMF_SUBMIX_LAYOUT_TYPE_LOUDSPEAKERS ||
|
||||||
submix_layout->layout_type > AV_IAMF_SUBMIX_LAYOUT_TYPE_BINAURAL) {
|
submix_layout->layout_type > AV_IAMF_SUBMIX_LAYOUT_TYPE_BINAURAL) {
|
||||||
av_log(s, AV_LOG_ERROR, "Invalid Layout type %u in a submix from Mix Presentation %u\n",
|
av_log(s, AV_LOG_ERROR, "Invalid Layout type %u in a submix from Mix Presentation %u\n",
|
||||||
submix_layout->layout_type, mix_presentation_id);
|
submix_layout->layout_type, mix_presentation_id);
|
||||||
|
|
Loading…
Reference in New Issue