Commit 20b6ba86 authored by bcoudurier's avatar bcoudurier

10l, check container_ul existence

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5907 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2f4033c5
No related merge requests found
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
* Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1 * Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1
*/ */
//#define DEBUG #define DEBUG
#include "avformat.h" #include "avformat.h"
...@@ -840,7 +840,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) ...@@ -840,7 +840,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
st->codec->codec_id = CODEC_ID_PCM_S32BE; st->codec->codec_id = CODEC_ID_PCM_S32BE;
} }
} }
if (container_ul->wrapping == Clip) { if (container_ul && container_ul->wrapping == Clip) {
dprintf("stream %d: clip wrapped essence\n", st->index); dprintf("stream %d: clip wrapped essence\n", st->index);
st->need_parsing = 1; st->need_parsing = 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment