Commit 0ea716f7 authored by Derek Buitenhuis's avatar Derek Buitenhuis

libutvideo: Unbreak

Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent f0210303
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*/ */
extern "C" { extern "C" {
#include "libavutil/opt.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "avcodec.h" #include "avcodec.h"
...@@ -86,7 +87,7 @@ FF_ENABLE_DEPRECATION_WARNINGS ...@@ -86,7 +87,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
return AVERROR(EINVAL); 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; avctx->priv_data = utv;
...@@ -236,13 +237,13 @@ static const AVOption options[] = { ...@@ -236,13 +237,13 @@ static const AVOption options[] = {
static const AVClass utvideo_class = { static const AVClass utvideo_class = {
"libutvideo", "libutvideo",
av_default_item_name, av_default_item_name,
options. options,
LIBAVUTIL_VERSION, LIBAVUTIL_VERSION_INT,
0, 0,
0, 0,
NULL, NULL,
NULL, NULL,
0, AV_CLASS_CATEGORY_NA,
NULL, NULL,
NULL, NULL,
}; };
......
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