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
5ada64a5
Commit
5ada64a5
authored
Jan 08, 2012
by
Sebastien Zwickert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vda: convert 3 byte NAL sizes to 4 byte.
parent
ca324f98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vda.c
libavcodec/vda.c
+5
-0
No files found.
libavcodec/vda.c
View file @
5ada64a5
...
@@ -179,6 +179,11 @@ int ff_vda_create_decoder(struct vda_context *vda_ctx,
...
@@ -179,6 +179,11 @@ int ff_vda_create_decoder(struct vda_context *vda_ctx,
vda_lock_operation
(
&
vda_ctx
->
queue_mutex
,
AV_LOCK_CREATE
);
vda_lock_operation
(
&
vda_ctx
->
queue_mutex
,
AV_LOCK_CREATE
);
if
(
extradata
[
4
]
==
0xFE
)
{
// convert 3 byte NAL sizes to 4 byte
extradata
[
4
]
=
0xFF
;
}
config_info
=
CFDictionaryCreateMutable
(
kCFAllocatorDefault
,
config_info
=
CFDictionaryCreateMutable
(
kCFAllocatorDefault
,
4
,
4
,
&
kCFTypeDictionaryKeyCallBacks
,
&
kCFTypeDictionaryKeyCallBacks
,
...
...
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