[FFmpeg-devel] [PATCH] avformat/mxfdec: check if source_package is NULL
Marton Balint
cus at passwd.hu
Tue May 31 23:02:57 CEST 2016
Fixes ticket #5554.
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 f8cf922..9bf676c 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1914,7 +1914,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
break;
}
}
- if (!source_track || !component)
+ if (!source_track || !component || !source_package)
continue;
if (!(source_track->sequence = mxf_resolve_strong_ref(mxf, &source_track->sequence_ref, Sequence))) {
--
2.6.6
More information about the ffmpeg-devel
mailing list