changeset 23865:4d3f8a0d864c

Make sure fformat is set before use
author reimar
date Fri, 27 Jul 2007 20:25:43 +0000
parents 889473a51715
children b1156b0b71c0
files libmpdemux/demuxer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Fri Jul 27 20:22:55 2007 +0000
+++ b/libmpdemux/demuxer.c	Fri Jul 27 20:25:43 2007 +0000
@@ -678,7 +678,7 @@
 sh_video_t *sh_video=NULL;
 
 demuxer_desc_t *demuxer_desc;
-int fformat;
+int fformat = 0;
 int i;
 
 //printf("demux_open(%p,%d,%d,%d,%d)  \n",stream,file_format,audio_id,video_id,dvdsub_id);