summaryrefslogtreecommitdiff
path: root/libavcodec/opt.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-09-30 20:34:35 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-09-30 20:34:35 +0000
commit838dc131f1d6f1892878de372c7e2ea75fc205d3 (patch)
treec1044aae5121e56f7c8263bad2ec69be599e2521 /libavcodec/opt.h
parent0743de4ffd063d17df7a66aa579746c4f427ae1a (diff)
add FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API
Originally committed as revision 25276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.h')
-rw-r--r--libavcodec/opt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.h b/libavcodec/opt.h
index b6e6f59ea4..95147595b7 100644
--- a/libavcodec/opt.h
+++ b/libavcodec/opt.h
@@ -31,7 +31,7 @@
#include "avcodec.h"
#include "libavutil/opt.h"
-#if LIBAVCODEC_VERSION_MAJOR < 53
+#if FF_API_SET_STRING_OLD
/**
* @see av_set_string2()
*/