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
833bc667
Commit
833bc667
authored
Apr 19, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: change seeking index consistency asserts to av_asserts
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
42bcc408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
libavformat/utils.c
+2
-2
No files found.
libavformat/utils.c
View file @
833bc667
...
@@ -1856,14 +1856,14 @@ int ff_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
...
@@ -1856,14 +1856,14 @@ int ff_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
av_dlog
(
s
,
"using cached pos_min=0x%"
PRIx64
" dts_min=%s
\n
"
,
av_dlog
(
s
,
"using cached pos_min=0x%"
PRIx64
" dts_min=%s
\n
"
,
pos_min
,
av_ts2str
(
ts_min
));
pos_min
,
av_ts2str
(
ts_min
));
}
else
{
}
else
{
a
ssert
(
index
==
0
);
a
v_assert1
(
index
==
0
);
}
}
index
=
av_index_search_timestamp
(
st
,
target_ts
,
flags
&
~
AVSEEK_FLAG_BACKWARD
);
index
=
av_index_search_timestamp
(
st
,
target_ts
,
flags
&
~
AVSEEK_FLAG_BACKWARD
);
av_assert0
(
index
<
st
->
nb_index_entries
);
av_assert0
(
index
<
st
->
nb_index_entries
);
if
(
index
>=
0
){
if
(
index
>=
0
){
e
=
&
st
->
index_entries
[
index
];
e
=
&
st
->
index_entries
[
index
];
a
ssert
(
e
->
timestamp
>=
target_ts
);
a
v_assert1
(
e
->
timestamp
>=
target_ts
);
pos_max
=
e
->
pos
;
pos_max
=
e
->
pos
;
ts_max
=
e
->
timestamp
;
ts_max
=
e
->
timestamp
;
pos_limit
=
pos_max
-
e
->
min_distance
;
pos_limit
=
pos_max
-
e
->
min_distance
;
...
...
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