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

gkovacs subversion at mplayerhq.hu
Mon Jul 6 20:08:46 CEST 2009


Author: gkovacs
Date: Mon Jul  6 20:08:45 2009
New Revision: 4632

Log:
removed PlayElem->buf_size

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

Modified: concat/libavformat/playlist.c
==============================================================================
--- concat/libavformat/playlist.c	Mon Jul  6 20:02:54 2009	(r4631)
+++ concat/libavformat/playlist.c	Mon Jul  6 20:08:45 2009	(r4632)
@@ -35,8 +35,7 @@ void ff_playlist_make_playelem(PlayElem 
     pe->ap->time_base = (AVRational){1, 25};
     pe->ap->pix_fmt = 0;
     pe->fmt = 0;
-    pe->buf_size = 0;
-    err = av_open_input_file(&(pe->ic), pe->filename, pe->fmt, pe->buf_size, pe->ap);
+    err = av_open_input_file(&(pe->ic), pe->filename, pe->fmt, 0, pe->ap);
     if (err < 0)
         print_error("during-open_input_playelem", err);
     pe->fmt = pe->ic->iformat;

Modified: concat/libavformat/playlist.h
==============================================================================
--- concat/libavformat/playlist.h	Mon Jul  6 20:02:54 2009	(r4631)
+++ concat/libavformat/playlist.h	Mon Jul  6 20:08:45 2009	(r4632)
@@ -33,7 +33,6 @@ typedef struct PlayElem {
     AVFormatContext *ic; /**< AVFormatContext for this playlist item */
     char *filename; /**< Filename with absolute path of this playlist item */
     AVInputFormat *fmt; /**< AVInputFormat manually specified for this playlist item */
-    int buf_size;
     AVFormatParameters *ap; /**< AVFormatParameters for this playlist item */
     int64_t time_offset;
     int64_t indv_time;


More information about the FFmpeg-soc mailing list