mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libx264: silence: warning: the address of val will always evaluate as true
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9a7f1519aa
commit
2187600f47
@ -237,7 +237,7 @@ static av_cold int X264_close(AVCodecContext *avctx)
|
||||
#define OPT_STR(opt, param) \
|
||||
do { \
|
||||
int ret; \
|
||||
if (param && (ret = x264_param_parse(&x4->params, opt, param)) < 0) { \
|
||||
if (param!=NULL && (ret = x264_param_parse(&x4->params, opt, param)) < 0) { \
|
||||
if(ret == X264_PARAM_BAD_NAME) \
|
||||
av_log(avctx, AV_LOG_ERROR, \
|
||||
"bad option '%s': '%s'\n", opt, param); \
|
||||
|
Loading…
Reference in New Issue
Block a user