mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-05 23:00:02 +00:00
lavc: fix parentheses placement in avcodec_open2().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
7221139ba0
commit
1d36fb13b0
@ -513,7 +513,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD
|
|||||||
av_opt_set_defaults(avctx->priv_data);
|
av_opt_set_defaults(avctx->priv_data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (codec->priv_class && (ret = av_opt_set_dict(avctx->priv_data, &tmp) < 0))
|
if (codec->priv_class && (ret = av_opt_set_dict(avctx->priv_data, &tmp)) < 0)
|
||||||
goto free_and_end;
|
goto free_and_end;
|
||||||
} else {
|
} else {
|
||||||
avctx->priv_data = NULL;
|
avctx->priv_data = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user