mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/iamfenc: Align check and error message
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
a7ad5d4d10
commit
6a9ddfcd96
|
@ -72,7 +72,7 @@ static int iamf_init(AVFormatContext *s)
|
|||
}
|
||||
}
|
||||
|
||||
if (!s->nb_stream_groups) {
|
||||
if (s->nb_stream_groups <= 1) {
|
||||
av_log(s, AV_LOG_ERROR, "There must be at least two stream groups\n");
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue