Author: gkovacs
Date: Mon Aug 24 01:08:33 2009
New Revision: 5223

Log:
remove unused function av_playlist_playidx_from_streamidx

Modified:
   concat/libavformat/avplaylist.c
   concat/libavformat/avplaylist.h

Modified: concat/libavformat/avplaylist.c
==============================================================================
--- concat/libavformat/avplaylist.c     Mon Aug 24 00:12:58 2009        (r5222)
+++ concat/libavformat/avplaylist.c     Mon Aug 24 01:08:33 2009        (r5223)
@@ -243,15 +243,6 @@ int av_playlist_stream_index_from_time(A
     return i;
 }
 
-int av_playlist_playidx_from_streamidx(AVPlaylistContext *ctx, int 
stream_index)
-{
-    int i, total;
-    i = total = 0;
-    while (stream_index >= total)
-        total += ctx->nb_streams_list[i++];
-    return i-1;
-}
-
 int av_playlist_localstidx_from_streamidx(AVPlaylistContext *ctx, int 
stream_index)
 {
     int i, total;

Modified: concat/libavformat/avplaylist.h
==============================================================================
--- concat/libavformat/avplaylist.h     Mon Aug 24 00:12:58 2009        (r5222)
+++ concat/libavformat/avplaylist.h     Mon Aug 24 01:08:33 2009        (r5223)
@@ -135,13 +135,6 @@ int av_playlist_stream_index_from_time(A
                                        int64_t pts,
                                        int64_t *localpts);
 
-/** @brief Calculates the index of the playlist item which contains the 
specified stream index.
- *  @param ctx AVPlaylistContext within which the list of playlist elements 
and durations are stored.
- *  @param stream_index Global stream index, the index of the stream within 
the playlist demuxer.
- *  @return Returns the index of the playlist item which contains the 
specified stream index.
- */
-int av_playlist_playidx_from_streamidx(AVPlaylistContext *ctx, int 
stream_index);
-
 /** @brief Calculates the local stream index which corresponds to a global 
stream index.
  *  @param ctx AVPlaylistContext within which the list of playlist elements 
and durations are stored.
  *  @param stream_index Global stream index, the index of the stream within 
the playlist demuxer.
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to