avcodec/libutvideoenc: Add NULL termintor to options
Fixes segfaults Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
61ea7f1509
commit
37db3e8931
@ -232,6 +232,7 @@ static const AVOption options[] = {
|
|||||||
{ "pred", "Prediction method", OFFSET(pred), AV_OPT_TYPE_INT, 0, 0, 2, VE, "pred" },
|
{ "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" },
|
{ "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" },
|
{ "median", NULL, 0, AV_OPT_TYPE_CONST, 2, INT_MIN, INT_MAX, VE, "pred" },
|
||||||
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const AVClass utvideo_class = {
|
static const AVClass utvideo_class = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user