diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-04 02:17:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-04 02:17:57 +0100 |
commit | 37db3e8931f616abe1031770359ef30c1dcb6418 (patch) | |
tree | c4b6cfd9f81a50f6a1bbfc51cee20a2cc41ab6bc | |
parent | 61ea7f15094de9f44423017152b76c644b6ba89c (diff) | |
download | ffmpeg-37db3e8931f616abe1031770359ef30c1dcb6418.tar.gz |
avcodec/libutvideoenc: Add NULL termintor to options
Fixes segfaults
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/libutvideoenc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index a90a9554a0..d5dfef938a 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libavcodec/libutvideoenc.cpp @@ -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 = { |