[FFmpeg-cvslog] Rm duplicated define for OPT_STR.
Robert Leatherwood
git at videolan.org
Fri Apr 22 20:10:42 CEST 2011
ffmpeg | branch: master | Robert Leatherwood <robertDOTleatherwood at earthlink.net> | Fri Apr 22 20:10:26 2011 +0200| [03ac7991286c583c73c8c44c71aeba1265c61cba] | committer: Carl Eugen Hoyos
Rm duplicated define for OPT_STR.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=03ac7991286c583c73c8c44c71aeba1265c61cba
---
libavcodec/libx264.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index c1e60e6..acd1366 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;
More information about the ffmpeg-cvslog
mailing list