ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Tue Mar 19 03:56:11 2024 +0100| [6a9ddfcd96831e1cd39d552a37cc0093e9c91791] | committer: Andreas Rheinhardt
avformat/iamfenc: Align check and error message Reviewed-by: James Almer <jamr...@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6a9ddfcd96831e1cd39d552a37cc0093e9c91791 --- libavformat/iamfenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/iamfenc.c b/libavformat/iamfenc.c index bf4a268c95..5e53a7748f 100644 --- a/libavformat/iamfenc.c +++ b/libavformat/iamfenc.c @@ -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); } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".