avformat/options: skip the none type group in stream_group_child_iterate()
Otherwise the function will not iterate through valid group types. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -349,6 +349,9 @@ static const AVClass *stream_group_child_iterate(void **opaque)
|
|||||||
const AVClass *ret = NULL;
|
const AVClass *ret = NULL;
|
||||||
|
|
||||||
switch(i) {
|
switch(i) {
|
||||||
|
case AV_STREAM_GROUP_PARAMS_NONE:
|
||||||
|
i++;
|
||||||
|
// fall-through
|
||||||
case AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT:
|
case AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT:
|
||||||
ret = av_iamf_audio_element_get_class();
|
ret = av_iamf_audio_element_get_class();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user