[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.113,1.114

Arpi of Ize arpi at mplayerhq.hu
Sun Sep 22 02:35:38 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv20691

Modified Files:
	demuxer.c 
Log Message:
get_sh_audio/get_sh_video removed (never used, also useless)


Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- demuxer.c	15 Sep 2002 22:38:30 -0000	1.113
+++ demuxer.c	22 Sep 2002 00:35:35 -0000	1.114
@@ -71,17 +71,6 @@
   return d;
 }
 
-sh_audio_t *get_sh_audio(demuxer_t *demuxer, int id)
-{
-    if(id > MAX_A_STREAMS-1 || id < 0)
-    {
-	mp_msg(MSGT_DEMUXER,MSGL_WARN,"Requested audio stream id overflow (%d > %d)\n",
-	    id, MAX_A_STREAMS);
-	return NULL;
-    }
-    return demuxer->a_streams[id];
-}
-
 sh_audio_t* new_sh_audio(demuxer_t *demuxer,int id){
     if(id > MAX_A_STREAMS-1 || id < 0)
     {
@@ -103,17 +92,6 @@
     mp_msg(MSGT_DEMUXER,MSGL_V,"DEMUXER: freeing sh_audio at %p  \n",sh);
     if(sh->wf) free(sh->wf);
     free(sh);
-}
-
-sh_video_t *get_sh_video(demuxer_t *demuxer, int id)
-{
-    if(id > MAX_V_STREAMS-1 || id < 0)
-    {
-	mp_msg(MSGT_DEMUXER,MSGL_WARN,"Requested video stream id overflow (%d > %d)\n",
-	    id, MAX_V_STREAMS);
-	return NULL;
-    }
-    return demuxer->v_streams[id];
 }
 
 sh_video_t* new_sh_video(demuxer_t *demuxer,int id){




More information about the MPlayer-cvslog mailing list