diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-03 21:38:06 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-16 20:02:12 +0300 |
commit | a28ab09e2a2ac3fcc61e77ff5d702d9157eb37bc (patch) | |
tree | 9f64527893ed04fc185cefb8db697c56ba01138d | |
parent | 4439d6aa6956453f6f5479020ee71baebbec4287 (diff) |
avformat/mxfdec: Fix av_log context
Fixes: out of array access
Fixes: mxf-crash-1c2e59bf07a34675bfb3ada5e1ec22fa9f38f923
Found-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit bab0716c7f4793ec42e05a5aa7e80d82a0dd4e75)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 7a42555562..c78e272a7e 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2085,7 +2085,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) MXFEssenceContainerData *essence_data; if (!(essence_data = mxf_resolve_strong_ref(mxf, &mxf->essence_container_data_refs[k], EssenceContainerData))) { - av_log(mxf, AV_LOG_TRACE, "could not resolve essence container data strong ref\n"); + av_log(mxf->fc, AV_LOG_TRACE, "could not resolve essence container data strong ref\n"); continue; } if (!memcmp(component->source_package_ul, essence_data->package_ul, sizeof(UID)) && !memcmp(component->source_package_uid, essence_data->package_uid, sizeof(UID))) { |