Commit 37db3e89 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/libutvideoenc: Add NULL termintor to options

Fixes segfaults
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 61ea7f15
......@@ -232,6 +232,7 @@ static const AVOption options[] = {
{ "pred", "Prediction method", OFFSET(pred), AV_OPT_TYPE_INT, 0, 0, 2, VE, "pred" },
{ "left", NULL, 0, AV_OPT_TYPE_CONST, 0, INT_MIN, INT_MAX, VE, "pred" },
{ "median", NULL, 0, AV_OPT_TYPE_CONST, 2, INT_MIN, INT_MAX, VE, "pred" },
{ NULL },
};
static const AVClass utvideo_class = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment