summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-03 11:57:28 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-03 11:57:28 +0000
commitf0d472921286025903e54803bad37200e9a0dc1f (patch)
tree684b34880749063ebb98fdbed8803c3060fdadf6
parentc2e8805441d06f05d81582b839d29948d76472c8 (diff)
10l, check container_ul existence
Originally committed as revision 5907 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mxf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 4c46277beb..a01b1952a4 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -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 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
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;
}