Otherwise the function will not iterate through valid group types.
Signed-off-by: James Almer <[email protected]>
---
libavformat/options.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/options.c b/libavformat/options.c
index bf6113ca95..73e220bb7d 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -349,6 +349,9 @@ static const AVClass *stream_group_child_iterate(void
**opaque)
const AVClass *ret = NULL;
switch(i) {
+ case AV_STREAM_GROUP_PARAMS_NONE:
+ i++;
+ // fall-through
case AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT:
ret = av_iamf_audio_element_get_class();
break;
--
2.43.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".