Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0ea716f7
Commit
0ea716f7
authored
Feb 03, 2016
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libutvideo: Unbreak
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
f0210303
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
libutvideoenc.cpp
libavcodec/libutvideoenc.cpp
+5
-4
No files found.
libavcodec/libutvideoenc.cpp
View file @
0ea716f7
...
@@ -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_metho
d
+
1
)
<<
8
)
|
(
avctx
->
thread_count
-
1
);
flags
=
((
utv
->
pre
d
+
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
,
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment