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
75c3e54d
Commit
75c3e54d
authored
Oct 27, 2015
by
Hendrik Leppkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asfdec: fix FATE seek test
parent
c2f861ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
asfdec_f.c
libavformat/asfdec_f.c
+4
-2
No files found.
libavformat/asfdec_f.c
View file @
75c3e54d
...
@@ -1538,7 +1538,6 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index,
...
@@ -1538,7 +1538,6 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index,
pts
=
pkt
->
dts
;
pts
=
pkt
->
dts
;
av_packet_unref
(
pkt
);
if
(
pkt
->
flags
&
AV_PKT_FLAG_KEY
)
{
if
(
pkt
->
flags
&
AV_PKT_FLAG_KEY
)
{
i
=
pkt
->
stream_index
;
i
=
pkt
->
stream_index
;
...
@@ -1552,10 +1551,13 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index,
...
@@ -1552,10 +1551,13 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index,
pos
-
start_pos
[
i
]
+
1
,
AVINDEX_KEYFRAME
);
pos
-
start_pos
[
i
]
+
1
,
AVINDEX_KEYFRAME
);
start_pos
[
i
]
=
asf_st
->
packet_pos
+
1
;
start_pos
[
i
]
=
asf_st
->
packet_pos
+
1
;
if
(
pkt
->
stream_index
==
stream_index
)
if
(
pkt
->
stream_index
==
stream_index
)
{
av_packet_unref
(
pkt
);
break
;
break
;
}
}
}
}
av_packet_unref
(
pkt
);
}
*
ppos
=
pos
;
*
ppos
=
pos
;
return
pts
;
return
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