aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Leatherwood <robertDOTleatherwood@earthlink.net>2011-04-22 20:10:26 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-22 20:10:26 +0200
commit03ac7991286c583c73c8c44c71aeba1265c61cba (patch)
tree4db6065ce9ba07e7cd0fc4e7b7a9a2d08fc1a1db
parenta08a59b736621062a1a7bd931fc1c71904caee34 (diff)
downloadffmpeg-03ac7991286c583c73c8c44c71aeba1265c61cba.tar.gz
Rm duplicated define for OPT_STR.
-rw-r--r--libavcodec/libx264.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index c1e60e6d5f..acd13668d7 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -199,15 +199,6 @@ static void check_default_settings(AVCodecContext *avctx)
} \
} while (0); \
-#define OPT_STR(opt, param) \
- do { \
- if (param && x264_param_parse(&x4->params, opt, param) < 0) { \
- av_log(avctx, AV_LOG_ERROR, \
- "bad value for '%s': '%s'\n", opt, param); \
- return -1; \
- } \
- } while (0); \
-
static av_cold int X264_init(AVCodecContext *avctx)
{
X264Context *x4 = avctx->priv_data;