[FFmpeg-devel] [PATCH 4/5] avformat/mxfdec: do not ignore mxf_read_strong_ref_array return value when reading sub descriptors
Marton Balint
cus at passwd.hu
Mon Nov 29 02:59:29 EET 2021
Signed-off-by: Marton Balint <cus at passwd.hu>
---
libavformat/mxfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index e0a52e3883..229c02a85e 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1419,7 +1419,7 @@ static int mxf_read_generic_descriptor(void *arg, AVIOContext *pb, int tag, int
}
if (IS_KLV_KEY(uid, mxf_sub_descriptor))
- mxf_read_strong_ref_array(pb, &descriptor->sub_descriptors_refs, &descriptor->sub_descriptors_count);
+ return mxf_read_strong_ref_array(pb, &descriptor->sub_descriptors_refs, &descriptor->sub_descriptors_count);
break;
}
--
2.31.1
More information about the ffmpeg-devel
mailing list