Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d04c17c9
Commit
d04c17c9
authored
Dec 10, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swfdec: cosmetics: fix indentation
parent
e70c5b03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
swfdec.c
libavformat/swfdec.c
+16
-16
No files found.
libavformat/swfdec.c
View file @
d04c17c9
...
@@ -180,22 +180,22 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
...
@@ -180,22 +180,22 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
st
=
s
->
streams
[
i
];
st
=
s
->
streams
[
i
];
if
(
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_AUDIO
&&
st
->
id
==
-
1
)
{
if
(
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_AUDIO
&&
st
->
id
==
-
1
)
{
if
(
st
->
codec
->
codec_id
==
AV_CODEC_ID_MP3
)
{
if
(
st
->
codec
->
codec_id
==
AV_CODEC_ID_MP3
)
{
avio_skip
(
pb
,
4
);
avio_skip
(
pb
,
4
);
len
-=
4
;
len
-=
4
;
if
(
len
<=
0
)
if
(
len
<=
0
)
goto
skip
;
goto
skip
;
if
((
res
=
av_get_packet
(
pb
,
pkt
,
len
))
<
0
)
if
((
res
=
av_get_packet
(
pb
,
pkt
,
len
))
<
0
)
return
res
;
return
res
;
}
else
{
// ADPCM, PCM
}
else
{
// ADPCM, PCM
if
(
len
<=
0
)
if
(
len
<=
0
)
goto
skip
;
goto
skip
;
if
((
res
=
av_get_packet
(
pb
,
pkt
,
len
))
<
0
)
if
((
res
=
av_get_packet
(
pb
,
pkt
,
len
))
<
0
)
return
res
;
return
res
;
}
}
pkt
->
pos
=
pos
;
pkt
->
pos
=
pos
;
pkt
->
stream_index
=
st
->
index
;
pkt
->
stream_index
=
st
->
index
;
return
pkt
->
size
;
return
pkt
->
size
;
}
}
}
}
}
else
if
(
tag
==
TAG_JPEG2
)
{
}
else
if
(
tag
==
TAG_JPEG2
)
{
...
...
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