diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index c1e60e6d5f..acd13668d7 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -190,15 +190,6 @@ static void check_default_settings(AVCodecContext *avctx) } } -#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); \ - #define OPT_STR(opt, param) \ do { \ if (param && x264_param_parse(&x4->params, opt, param) < 0) { \