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
ab470fa7
Commit
ab470fa7
authored
Dec 11, 2005
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recognize some more nal types
Originally committed as revision 4734 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b7c24ff6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
h264.c
libavcodec/h264.c
+12
-5
No files found.
libavcodec/h264.c
View file @
ab470fa7
...
...
@@ -155,8 +155,12 @@ typedef struct H264Context{
#define NAL_SEI 6
#define NAL_SPS 7
#define NAL_PPS 8
#define NAL_PICTURE_DELIMITER 9
#define NAL_FILTER_DATA 10
#define NAL_AUD 9
#define NAL_END_SEQUENCE 10
#define NAL_END_STREAM 11
#define NAL_FILLER_DATA 12
#define NAL_SPS_EXT 13
#define NAL_AUXILIARY_SLICE 19
uint8_t
*
rbsp_buffer
;
int
rbsp_buffer_size
;
...
...
@@ -7534,9 +7538,12 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
decode_picture_parameter_set
(
h
,
bit_length
);
break
;
case
NAL_PICTURE_DELIMITER
:
break
;
case
NAL_FILTER_DATA
:
case
NAL_AUD
:
case
NAL_END_SEQUENCE
:
case
NAL_END_STREAM
:
case
NAL_FILLER_DATA
:
case
NAL_SPS_EXT
:
case
NAL_AUXILIARY_SLICE
:
break
;
default
:
av_log
(
avctx
,
AV_LOG_ERROR
,
"Unknown NAL code: %d
\n
"
,
h
->
nal_unit_type
);
...
...
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