[FFmpeg-soc] [soc]: r5652 - mms/mmst.c

spyfeng subversion at mplayerhq.hu
Wed Mar 10 18:00:42 CET 2010


Author: spyfeng
Date: Wed Mar 10 18:00:42 2010
New Revision: 5652

Log:
remove useless function.

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c	Wed Mar 10 17:58:02 2010	(r5651)
+++ mms/mmst.c	Wed Mar 10 18:00:42 2010	(r5652)
@@ -946,26 +946,6 @@ static void clear_stream_buffers(MMSCont
     mms->media_packet_read_ptr = mms->media_packet_incoming_buffer;
 }
 
-/** Convert from AVDISCARD_* values to MMS stream selection code for the stream. */
-static int ff_mms_stream_selection_code(AVStream *st)
-{
-    switch(st->discard) {
-    case AVDISCARD_NONE:
-    case AVDISCARD_DEFAULT:
-    default:
-        return 0; // 00 = stream at full frame rate;
-
-    case AVDISCARD_NONREF:
-    case AVDISCARD_BIDIR:
-    case AVDISCARD_NONKEY:
-        return 1; // 01 = only stream key frames (doesn't work that well)
-
-    case AVDISCARD_ALL:
-        return 2; // 02 = no stream, switch it off.
-    }
-}
-
-
 /** Send MMST stream selection command based on the AVStream->discard values. */
 static int send_stream_selection_request(MMSContext *mms)
 {


More information about the FFmpeg-soc mailing list