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
3b99bb38
Commit
3b99bb38
authored
Aug 07, 2018
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/flvdec: reindent code for previous commit
Signed-off-by:
Steven Liu
<
lq@chinaffmpeg.org
>
parent
d37125fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
flvdec.c
libavformat/flvdec.c
+11
-11
No files found.
libavformat/flvdec.c
View file @
3b99bb38
...
...
@@ -1252,19 +1252,19 @@ retry_duration:
leave:
last
=
avio_rb32
(
s
->
pb
);
if
(
!
flv
->
trust_datasize
)
{
if
(
last
!=
orig_size
+
11
&&
last
!=
orig_size
+
10
&&
!
avio_feof
(
s
->
pb
)
&&
(
last
!=
orig_size
||
!
last
)
&&
last
!=
flv
->
sum_flv_tag_size
&&
!
flv
->
broken_sizes
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Packet mismatch %d %d %d
\n
"
,
last
,
orig_size
+
11
,
flv
->
sum_flv_tag_size
);
avio_seek
(
s
->
pb
,
pos
+
1
,
SEEK_SET
);
ret
=
resync
(
s
);
av_packet_unref
(
pkt
);
if
(
ret
>=
0
)
{
goto
retry
;
if
(
last
!=
orig_size
+
11
&&
last
!=
orig_size
+
10
&&
!
avio_feof
(
s
->
pb
)
&&
(
last
!=
orig_size
||
!
last
)
&&
last
!=
flv
->
sum_flv_tag_size
&&
!
flv
->
broken_sizes
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Packet mismatch %d %d %d
\n
"
,
last
,
orig_size
+
11
,
flv
->
sum_flv_tag_size
);
avio_seek
(
s
->
pb
,
pos
+
1
,
SEEK_SET
);
ret
=
resync
(
s
);
av_packet_unref
(
pkt
);
if
(
ret
>=
0
)
{
goto
retry
;
}
}
}
}
return
ret
;
}
...
...
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