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
349e9a87
Commit
349e9a87
authored
Nov 08, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/ty: fix format specifiers in debug log messages
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
372a4dda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ty.c
libavformat/ty.c
+2
-2
No files found.
libavformat/ty.c
View file @
349e9a87
...
...
@@ -538,14 +538,14 @@ static int check_sync_pes(AVFormatContext *s, AVPacket *pkt,
if
(
offset
<
0
||
offset
+
ty
->
pes_length
>
rec_len
)
{
/* entire PES header not present */
ff_dlog
(
s
,
"PES header at %
d
not complete in record. storing.
\n
"
,
offset
);
ff_dlog
(
s
,
"PES header at %
"
PRId32
"
not complete in record. storing.
\n
"
,
offset
);
/* save the partial pes header */
if
(
offset
<
0
)
{
/* no header found, fake some 00's (this works, believe me) */
memset
(
ty
->
pes_buffer
,
0
,
4
);
ty
->
pes_buf_cnt
=
4
;
if
(
rec_len
>
4
)
ff_dlog
(
s
,
"PES header not found in record of %
d
bytes!
\n
"
,
rec_len
);
ff_dlog
(
s
,
"PES header not found in record of %
"
PRId32
"
bytes!
\n
"
,
rec_len
);
return
-
1
;
}
/* copy the partial pes header we found */
...
...
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