[FFmpeg-cvslog] r25381 - in trunk/libavformat: avformat.h utils.c
Stefano Sabatini
stefano.sabatini-lala
Wed Oct 6 23:35:22 CEST 2010
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.
Regards.
More information about the ffmpeg-cvslog
mailing list