Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
c6ef7641
Commit
c6ef7641
authored
Jan 25, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffv1enc: fix gbrp>8bit
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e80be5a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ffv1enc.c
libavcodec/ffv1enc.c
+2
-2
No files found.
libavcodec/ffv1enc.c
View file @
c6ef7641
...
...
@@ -395,8 +395,8 @@ static void encode_rgb_frame(FFV1Context *s, uint8_t *src[3], int w, int h, int
int
x
,
y
,
p
,
i
;
const
int
ring_size
=
s
->
avctx
->
context_model
?
3
:
2
;
int16_t
*
sample
[
4
][
3
];
int
lbd
=
s
->
avctx
->
bits_per_raw_sample
<=
8
;
int
bits
=
s
->
avctx
->
bits_per_raw_sample
>
0
?
s
->
avctx
->
bits_per_raw_sample
:
8
;
int
lbd
=
s
->
bits_per_raw_sample
<=
8
;
int
bits
=
s
->
bits_per_raw_sample
>
0
?
s
->
bits_per_raw_sample
:
8
;
int
offset
=
1
<<
bits
;
s
->
run_index
=
0
;
...
...
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