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
4df94492
Commit
4df94492
authored
Jun 12, 2016
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/videotoolbox: fixes compilation after
1534ef87
parent
82d79970
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
videotoolbox.c
libavcodec/videotoolbox.c
+3
-3
No files found.
libavcodec/videotoolbox.c
View file @
4df94492
...
...
@@ -102,11 +102,11 @@ CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx)
memcpy
(
p
+
9
,
h
->
ps
.
sps
->
data
,
h
->
ps
.
sps
->
data_size
);
p
+=
9
+
h
->
ps
.
sps
->
data_size
;
AV_W8
(
p
+
0
,
1
);
/* number of pps */
AV_WB16
(
p
+
1
,
h
->
p
ps
.
data_size
+
1
);
AV_WB16
(
p
+
1
,
h
->
p
s
.
pps
->
data_size
+
1
);
AV_W8
(
p
+
3
,
NAL_PPS
|
(
3
<<
5
));
// NAL unit header
memcpy
(
p
+
4
,
h
->
p
ps
.
data
,
h
->
pps
.
data_size
);
memcpy
(
p
+
4
,
h
->
p
s
.
pps
->
data
,
h
->
ps
.
pps
->
data_size
);
p
+=
4
+
h
->
p
ps
.
data_size
;
p
+=
4
+
h
->
p
s
.
pps
->
data_size
;
av_assert0
(
p
-
vt_extradata
==
vt_extradata_size
);
data
=
CFDataCreate
(
kCFAllocatorDefault
,
vt_extradata
,
vt_extradata_size
);
...
...
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