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
c156420b
Commit
c156420b
authored
Jun 10, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/sheervideo: fix prediction for ybyr format
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0a9e781b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sheervideo.c
libavcodec/sheervideo.c
+1
-1
No files found.
libavcodec/sheervideo.c
View file @
c156420b
...
@@ -1222,7 +1222,7 @@ static void decode_ybyr(AVCodecContext *avctx, AVFrame *p, GetBitContext *gb)
...
@@ -1222,7 +1222,7 @@ static void decode_ybyr(AVCodecContext *avctx, AVFrame *p, GetBitContext *gb)
dst_v
[
x
/
2
]
=
get_bits
(
gb
,
8
);
dst_v
[
x
/
2
]
=
get_bits
(
gb
,
8
);
}
}
}
else
{
}
else
{
int
pred
[
4
]
=
{
-
12
5
,
128
,
128
,
0
};
int
pred
[
4
]
=
{
-
12
8
,
128
,
128
,
0
};
for
(
x
=
0
;
x
<
avctx
->
width
;
x
+=
2
)
{
for
(
x
=
0
;
x
<
avctx
->
width
;
x
+=
2
)
{
int
y1
,
y2
,
u
,
v
;
int
y1
,
y2
,
u
,
v
;
...
...
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