diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-03 19:27:24 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-03 19:27:24 +0000 |
commit | 0ea716f70b0fe23d0abc7cf3669ae4a130b43637 (patch) | |
tree | 1ce0a9935762b173855a286ef71e6d2282af3ba8 | |
parent | f02103036526a8740ccd23474155906929f26303 (diff) | |
download | ffmpeg-0ea716f70b0fe23d0abc7cf3669ae4a130b43637.tar.gz |
libutvideo: Unbreak
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavcodec/libutvideoenc.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index 7a2c37fe9b..a90a9554a0 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libavcodec/libutvideoenc.cpp @@ -26,6 +26,7 @@ */ extern "C" { +#include "libavutil/opt.h" #include "libavutil/avassert.h" #include "libavutil/imgutils.h" #include "avcodec.h" @@ -86,7 +87,7 @@ FF_ENABLE_DEPRECATION_WARNINGS return AVERROR(EINVAL); } - flags = ((avctx->prediction_method + 1) << 8) | (avctx->thread_count - 1); + flags = ((utv->pred + 1) << 8) | (avctx->thread_count - 1); avctx->priv_data = utv; @@ -236,13 +237,13 @@ static const AVOption options[] = { static const AVClass utvideo_class = { "libutvideo", av_default_item_name, - options. - LIBAVUTIL_VERSION, + options, + LIBAVUTIL_VERSION_INT, 0, 0, NULL, NULL, - 0, + AV_CLASS_CATEGORY_NA, NULL, NULL, }; |