[FFmpeg-cvslog] r25381 - in trunk/libavformat: avformat.h utils.c

Aurelien Jacobs aurel
Wed Oct 6 23:42:37 CEST 2010


On Wed, Oct 06, 2010 at 11:35:22PM +0200, Stefano Sabatini wrote:
> On date Wednesday 2010-10-06 22:56:14 +0200, aurel wrote:
> > Author: aurel
> > Date: Wed Oct  6 22:56:14 2010
> > New Revision: 25381
> > 
> > Log:
> > add new streams API without MAX_STREAMS limit
> > (disabled until next major bump)
> > 
> > Modified:
> >    trunk/libavformat/avformat.h
> >    trunk/libavformat/utils.c
> > 
> > Modified: trunk/libavformat/avformat.h
> > ==============================================================================
> > --- trunk/libavformat/avformat.h	Wed Oct  6 22:52:26 2010	(r25380)
> > +++ trunk/libavformat/avformat.h	Wed Oct  6 22:56:14 2010	(r25381)
> > @@ -672,7 +672,11 @@ typedef struct AVFormatContext {
> >      void *priv_data;
> >      ByteIOContext *pb;
> >      unsigned int nb_streams;
> > +#if LIBAVFORMAT_VERSION_MAJOR < 53
> >      AVStream *streams[MAX_STREAMS];
> > +#else
> > +    AVStream **streams;
> > +#endif
> >      char filename[1024]; /**< input or output filename */
> >      /* stream info */
> >      int64_t timestamp;
> 
> What about using FF_API_...? It should simplify testing for
> regressions.

Ooops... I had a localy modified version using FF_API_ but it seems it
is not the one I committed :-(
Fixed now. Thanks for noticing !

Aurel



More information about the ffmpeg-cvslog mailing list