changeset 1227:2cec7ede3bb4 libavformat

10l, check container_ul existence
author bcoudurier
date Thu, 03 Aug 2006 11:57:28 +0000
parents 0c5a9bfdcdab
children 4e673fe9ac5e
files mxf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }