diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-17 20:23:19 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-17 20:23:19 +0000 |
commit | dd872bf49f0ef1226c4a1e99e908a5213a59b32f (patch) | |
tree | 75fb4c07df1f243c97af4af9bbc96ddd0e8f0c3e /libavformat/options.c | |
parent | 072e3efd1b0ca3c5d08fa2119e88fb36b5708592 (diff) | |
download | ffmpeg-streaming-dd872bf49f0ef1226c4a1e99e908a5213a59b32f.zip ffmpeg-streaming-dd872bf49f0ef1226c4a1e99e908a5213a59b32f.tar.gz |
add LAVF_API_OLD_METADATA define to disable the deprecated metadata API
Originally committed as revision 24818 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 6a7f908..acfb422 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -50,7 +50,7 @@ static const AVOption options[]={ {"noparse", "disable AVParsers, this needs nofillin too", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_NOPARSE, INT_MIN, INT_MAX, D, "fflags"}, {"igndts", "ignore dts", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_IGNDTS, INT_MIN, INT_MAX, D, "fflags"}, {"rtphint", "add rtp hinting", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_RTP_HINT, INT_MIN, INT_MAX, E, "fflags"}, -#if LIBAVFORMAT_VERSION_INT < (53<<16) +#if LAVF_API_OLD_METADATA {"track", " set the track number", OFFSET(track), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E}, {"year", "set the year", OFFSET(year), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, E}, #endif |