get_sh_audio/get_sh_video removed (never used, also useless)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7470 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi committed 2002-09-22 00:35:35 +00:00
1 parent 72948be024
commit aef01c5a50
1 file changed
-22
-22
View File
@@ -71,17 +71,6 @@ demuxer_t* new_demuxer(stream_t *stream,int type,int a_id,int v_id,int s_id){
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 @@ void free_sh_audio(sh_audio_t* sh){
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)
{