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
4bd4fc56
Commit
4bd4fc56
authored
Jun 25, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/proresenc_kostya: use frame metadata instead of avctx
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
315f5112
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
proresenc_kostya.c
libavcodec/proresenc_kostya.c
+3
-3
No files found.
libavcodec/proresenc_kostya.c
View file @
4bd4fc56
...
...
@@ -969,9 +969,9 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
bytestream_put_byte
(
&
buf
,
frame_flags
);
bytestream_put_byte
(
&
buf
,
0
);
// reserved
bytestream_put_byte
(
&
buf
,
avctx
->
color_primaries
);
bytestream_put_byte
(
&
buf
,
avctx
->
color_trc
);
bytestream_put_byte
(
&
buf
,
avctx
->
colorspace
);
bytestream_put_byte
(
&
buf
,
pic
->
color_primaries
);
bytestream_put_byte
(
&
buf
,
pic
->
color_trc
);
bytestream_put_byte
(
&
buf
,
pic
->
colorspace
);
bytestream_put_byte
(
&
buf
,
0x40
|
(
ctx
->
alpha_bits
>>
3
));
bytestream_put_byte
(
&
buf
,
0
);
// reserved
if
(
ctx
->
quant_sel
!=
QUANT_MAT_DEFAULT
)
{
...
...
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