[Mplayer-cvslog] CVS: main dec_video.c,1.32,1.33
Arpi of Ize
arpi at mplayer.dev.hu
Thu Aug 23 18:23:13 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv23534
Modified Files:
dec_video.c
Log Message:
addedd #ifdefs to uninit
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- dec_video.c 23 Aug 2001 15:56:26 -0000 1.32
+++ dec_video.c 23 Aug 2001 16:23:11 -0000 1.33
@@ -144,14 +144,17 @@
if(!sh_video->inited) return;
printf("uninit video: %d \n",sh_video->codec->driver);
switch(sh_video->codec->driver){
+#ifdef USE_LIBAVCODEC
case VFM_FFMPEG:
if (avcodec_close(&lavc_context) < 0)
mp_msg(MSGT_DECVIDEO,MSGL_ERR, "could not close codec\n");
break;
+#endif
+#ifndef USE_DIRECTSHOW
case VFM_DSHOW: // Win32/DirectShow
DS_VideoDecoder_Close();
break;
-
+#endif
case VFM_MPEG:
mpeg2_free_image_buffers (picture);
break;
More information about the MPlayer-cvslog
mailing list