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
c673fc91
Commit
c673fc91
authored
Nov 10, 2013
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc_sei: drop unused parameter
parent
d234c7a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
hevc_sei.c
libavcodec/hevc_sei.c
+3
-4
No files found.
libavcodec/hevc_sei.c
View file @
c673fc91
...
@@ -25,8 +25,7 @@
...
@@ -25,8 +25,7 @@
#include "golomb.h"
#include "golomb.h"
#include "hevc.h"
#include "hevc.h"
static
void
decode_nal_sei_decoded_picture_hash
(
HEVCContext
*
s
,
static
void
decode_nal_sei_decoded_picture_hash
(
HEVCContext
*
s
)
int
payload_size
)
{
{
int
cIdx
,
i
;
int
cIdx
,
i
;
GetBitContext
*
gb
=
&
s
->
HEVClc
.
gb
;
GetBitContext
*
gb
=
&
s
->
HEVClc
.
gb
;
...
@@ -92,7 +91,7 @@ static int decode_nal_sei_message(HEVCContext *s)
...
@@ -92,7 +91,7 @@ static int decode_nal_sei_message(HEVCContext *s)
}
}
if
(
s
->
nal_unit_type
==
NAL_SEI_PREFIX
)
{
if
(
s
->
nal_unit_type
==
NAL_SEI_PREFIX
)
{
if
(
payload_type
==
256
)
if
(
payload_type
==
256
)
decode_nal_sei_decoded_picture_hash
(
s
,
payload_size
);
decode_nal_sei_decoded_picture_hash
(
s
);
else
if
(
payload_type
==
45
)
else
if
(
payload_type
==
45
)
decode_nal_sei_frame_packing_arrangement
(
&
s
->
HEVClc
);
decode_nal_sei_frame_packing_arrangement
(
&
s
->
HEVClc
);
else
{
else
{
...
@@ -101,7 +100,7 @@ static int decode_nal_sei_message(HEVCContext *s)
...
@@ -101,7 +100,7 @@ static int decode_nal_sei_message(HEVCContext *s)
}
}
}
else
{
/* nal_unit_type == NAL_SEI_SUFFIX */
}
else
{
/* nal_unit_type == NAL_SEI_SUFFIX */
if
(
payload_type
==
132
)
if
(
payload_type
==
132
)
decode_nal_sei_decoded_picture_hash
(
s
,
payload_size
);
decode_nal_sei_decoded_picture_hash
(
s
);
else
{
else
{
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"Skipped SUFFIX SEI %d
\n
"
,
payload_type
);
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"Skipped SUFFIX SEI %d
\n
"
,
payload_type
);
skip_bits
(
gb
,
8
*
payload_size
);
skip_bits
(
gb
,
8
*
payload_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