Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
26b84afd
Commit
26b84afd
authored
Oct 08, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
H264_nal: kill a warning
parent
56020daa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/codec/h264_nal.h
modules/codec/h264_nal.h
+2
-2
modules/codec/omxil/omxil.h
modules/codec/omxil/omxil.h
+1
-1
No files found.
modules/codec/h264_nal.h
View file @
26b84afd
...
...
@@ -98,7 +98,7 @@ static int convert_sps_pps( decoder_t *p_dec, const uint8_t *p_buf,
/* Convert H.264 NAL format to annex b in-place */
static
void
convert_h264_to_annexb
(
uint8_t
*
p_buf
,
uint32_t
i_len
,
in
t
i_nal_size
)
size_
t
i_nal_size
)
{
if
(
i_nal_size
<
3
||
i_nal_size
>
4
)
return
;
...
...
@@ -107,7 +107,7 @@ static void convert_h264_to_annexb( uint8_t *p_buf, uint32_t i_len,
while
(
i_len
>=
i_nal_size
)
{
uint32_t
nal_len
=
0
;
for
(
int
i
=
0
;
i
<
i_nal_size
;
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
i_nal_size
;
i
++
)
{
nal_len
=
(
nal_len
<<
8
)
|
p_buf
[
i
];
p_buf
[
i
]
=
0
;
}
...
...
modules/codec/omxil/omxil.h
View file @
26b84afd
...
...
@@ -102,7 +102,7 @@ struct decoder_sys_t
date_t
end_date
;
in
t
i_nal_size_length
;
/* Length of the NAL size field for H264 */
size_
t
i_nal_size_length
;
/* Length of the NAL size field for H264 */
int
b_use_pts
;
};
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