changeset 11370:80969afd4a0c

1000000l!!!! of course ffmpeg svq3 decoder will crash if you don't give it the ImageDesc! now it works fine
author rfelker
date Mon, 03 Nov 2003 06:24:59 +0000
parents a4b6fdc76fe5
children 9cd1546f26ea
files libmpdemux/demux_mov.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Mon Nov 03 02:42:39 2003 +0000
+++ b/libmpdemux/demux_mov.c	Mon Nov 03 06:24:59 2003 +0000
@@ -32,9 +32,7 @@
 #include "qtpalette.h"
 #include "parse_mp4.h" // .MP4 specific stuff
 
-#ifdef USE_QTX_CODECS
 #include "../loader/qtx/qtxsdk/components.h"
-#endif
 
 #ifdef MACOSX
 #include <QuickTime/QuickTime.h>
@@ -1005,7 +1003,6 @@
 //      82  char[4]	atom type
 //	86  ...		atom data
 
-#if defined(USE_QTX_CODECS) || defined(MACOSX)
 	{	ImageDescription* id=malloc(8+trak->stdata_len);
 		trak->desc=id;
 		id->idSize=8+trak->stdata_len;
@@ -1034,7 +1031,6 @@
 		}
 #endif
 	}
-#endif
 
 		if(trak->stdata_len >= 86) { // extra atoms found
 		  int pos=78;