# HG changeset patch # User bcoudurier # Date 1154606248 0 # Node ID 2cec7ede3bb45fc326f7433c55f007680082a512 # Parent 0c5a9bfdcdabdcc4ac67d499b578125bdff0b590 10l, check container_ul existence diff -r 0c5a9bfdcdab -r 2cec7ede3bb4 mxf.c --- a/mxf.c Thu Aug 03 11:28:08 2006 +0000 +++ b/mxf.c Thu Aug 03 11:57:28 2006 +0000 @@ -41,7 +41,7 @@ * Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1 */ -//#define DEBUG +#define DEBUG #include "avformat.h" @@ -840,7 +840,7 @@ 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); st->need_parsing = 1; }