summaryrefslogtreecommitdiffstats
path: root/libavcodec/libutvideoenc.cpp
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-04 02:17:57 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-04 02:17:57 +0100
commit37db3e8931f616abe1031770359ef30c1dcb6418 (patch)
treec4b6cfd9f81a50f6a1bbfc51cee20a2cc41ab6bc /libavcodec/libutvideoenc.cpp
parent61ea7f15094de9f44423017152b76c644b6ba89c (diff)
downloadffmpeg-streaming-37db3e8931f616abe1031770359ef30c1dcb6418.zip
ffmpeg-streaming-37db3e8931f616abe1031770359ef30c1dcb6418.tar.gz
avcodec/libutvideoenc: Add NULL termintor to options
Fixes segfaults Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/libutvideoenc.cpp')
-rw-r--r--libavcodec/libutvideoenc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp
index a90a955..d5dfef9 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 = {
OpenPOWER on IntegriCloud