changeset 7469:f53f1f126a05

get_sh_audio/get_sh_video removed (never used, also useless)
author arpi
date Sun, 22 Sep 2002 00:35:35 +0000
parents 9360e5203200
children a117511790c0
files libmpdemux/demuxer.c
diffstat 1 files changed, 0 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sun Sep 22 00:10:31 2002 +0000
+++ b/libmpdemux/demuxer.c	Sun Sep 22 00:35:35 2002 +0000
@@ -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)
     {
@@ -105,17 +94,6 @@
     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){
     if(id > MAX_V_STREAMS-1 || id < 0)
     {