diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index c1e60e6..5c1f11d 100644
|
a
|
b
|
static void check_default_settings(AVCodecContext *avctx)
|
| 199 | 199 | } \ |
| 200 | 200 | } while (0); \ |
| 201 | 201 | |
| 202 | | #define OPT_STR(opt, param) \ |
| 203 | | do { \ |
| 204 | | if (param && x264_param_parse(&x4->params, opt, param) < 0) { \ |
| 205 | | av_log(avctx, AV_LOG_ERROR, \ |
| 206 | | "bad value for '%s': '%s'\n", opt, param); \ |
| 207 | | return -1; \ |
| 208 | | } \ |
| 209 | | } while (0); \ |
| 210 | | |
| 211 | 202 | static av_cold int X264_init(AVCodecContext *avctx) |
| 212 | 203 | { |
| 213 | 204 | X264Context *x4 = avctx->priv_data; |