[MPlayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.71,1.72

Nico Sabbi CVS syncmail at mplayerhq.hu
Fri May 13 01:01:55 CEST 2005


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv21155

Modified Files:
	demux_ogg.c 
Log Message:
don't call fixup_audio if there's no audio

Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- demux_ogg.c	12 May 2005 17:35:57 -0000	1.71
+++ demux_ogg.c	12 May 2005 23:01:52 -0000	1.72
@@ -1187,8 +1187,9 @@
 
   mp_msg(MSGT_DEMUX,MSGL_V,"Ogg demuxer : found %d audio stream%s, %d video stream%s and %d text stream%s\n",n_audio,n_audio>1?"s":"",n_video,n_video>1?"s":"",ogg_d->n_text,ogg_d->n_text>1?"s":"");
 
-  if(sh_a->format == FOURCC_VORBIS)
-    fixup_vorbis_wf(sh_a);
+  if(sh_a)
+    if(sh_a->format == FOURCC_VORBIS)
+      fixup_vorbis_wf(sh_a);
 
   return 1;
 




More information about the MPlayer-cvslog mailing list