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
9b73fbcf
Commit
9b73fbcf
authored
Sep 23, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264dec: Decode in stream avc extradata.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4ba39683
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
h264.c
libavcodec/h264.c
+2
-0
No files found.
libavcodec/h264.c
View file @
9b73fbcf
...
@@ -3911,6 +3911,8 @@ static int decode_frame(AVCodecContext *avctx,
...
@@ -3911,6 +3911,8 @@ static int decode_frame(AVCodecContext *avctx,
return
0
;
return
0
;
}
}
if
(
h
->
is_avc
&&
AV_RB32
(
buf
)
==
0x0164001F
&&
buf
[
5
]
&&
buf
[
8
]
==
0x67
)
return
ff_h264_decode_extradata
(
h
,
buf
,
buf_size
);
buf_index
=
decode_nal_units
(
h
,
buf
,
buf_size
);
buf_index
=
decode_nal_units
(
h
,
buf
,
buf_size
);
if
(
buf_index
<
0
)
if
(
buf_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