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
b098b309
Commit
b098b309
authored
Jul 03, 2009
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation
Originally committed as revision 19331 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
68a10b40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
asfdec.c
libavformat/asfdec.c
+2
-2
No files found.
libavformat/asfdec.c
View file @
b098b309
...
...
@@ -598,7 +598,7 @@ static int ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb)
// if we do not know packet size, allow skipping up to 32 kB
off
=
32768
;
if
(
s
->
packet_size
>
0
)
off
=
(
url_ftell
(
pb
)
-
s
->
data_offset
)
%
s
->
packet_size
+
3
;
off
=
(
url_ftell
(
pb
)
-
s
->
data_offset
)
%
s
->
packet_size
+
3
;
c
=
d
=
e
=-
1
;
while
(
off
--
>
0
){
...
...
@@ -993,7 +993,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
}
if
(
s
->
packet_size
>
0
)
pos
=
(
pos
+
s
->
packet_size
-
1
-
s
->
data_offset
)
/
s
->
packet_size
*
s
->
packet_size
+
s
->
data_offset
;
pos
=
(
pos
+
s
->
packet_size
-
1
-
s
->
data_offset
)
/
s
->
packet_size
*
s
->
packet_size
+
s
->
data_offset
;
*
ppos
=
pos
;
url_fseek
(
s
->
pb
,
pos
,
SEEK_SET
);
...
...
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