[FFmpeg-soc] [soc]: r4557 - in concat/libavformat: playlist.c playlist.h

gkovacs subversion at mplayerhq.hu
Wed Jul 1 03:51:52 CEST 2009


Author: gkovacs
Date: Wed Jul  1 03:51:52 2009
New Revision: 4557

Log:
removing unused code

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

Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c	Wed Jul  1 03:45:05 2009	(r4556)
+++ concat/libavformat/playlist.c	Wed Jul  1 03:51:52 2009	(r4557)
@@ -235,19 +235,6 @@ int ff_playlist_populate_context(Playlis
     return 0;
 }
 
-/*
-unsigned int ff_get_stream_offset(AVFormatContext *s)
-{
-    PlaylistD *playld;
-    int i;
-    unsigned int snum = 0;
-    playld = s->priv_data;
-    for (i = 0; i < playld->pe_curidxs[0]; ++i)
-        snum += playld->pelist[i]->ic->nb_streams;
-    return snum;
-}
-*/
-
 // converts duration to stream base
 int64_t ff_conv_stream_time(AVFormatContext *ic, int stream_index, int64_t avt_duration)
 {

Modified: concat/libavformat/playlist.h
==============================================================================
--- concat/libavformat/playlist.h	Wed Jul  1 03:45:05 2009	(r4556)
+++ concat/libavformat/playlist.h	Wed Jul  1 03:51:52 2009	(r4557)
@@ -59,8 +59,6 @@ char* ff_buf_getline(ByteIOContext *s);
 
 void ff_split_wd_fn(char *filepath, char **workingdir, char **filename);
 
-//unsigned int ff_get_stream_offset(AVFormatContext *s);
-
 int64_t ff_conv_stream_time(AVFormatContext *ic, int stream_index, int64_t avt_duration);
 
 int64_t ff_get_duration(AVFormatContext *ic, int stream_index);


More information about the FFmpeg-soc mailing list