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
c0492097
Commit
c0492097
authored
Mar 03, 2009
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: Fix indentation.
Originally committed as revision 17756 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9d821fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
utils.c
libavformat/utils.c
+7
-5
No files found.
libavformat/utils.c
View file @
c0492097
...
@@ -1317,8 +1317,8 @@ int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
...
@@ -1317,8 +1317,8 @@ int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
pos_min
=
e
->
pos
;
pos_min
=
e
->
pos
;
ts_min
=
e
->
timestamp
;
ts_min
=
e
->
timestamp
;
#ifdef DEBUG_SEEK
#ifdef DEBUG_SEEK
av_log
(
s
,
AV_LOG_DEBUG
,
"using cached pos_min=0x%"
PRIx64
" dts_min=%"
PRId64
"
\n
"
,
av_log
(
s
,
AV_LOG_DEBUG
,
"using cached pos_min=0x%"
PRIx64
" dts_min=%"
PRId64
"
\n
"
,
pos_min
,
ts_min
);
pos_min
,
ts_min
);
#endif
#endif
}
else
{
}
else
{
assert
(
index
==
0
);
assert
(
index
==
0
);
...
@@ -1333,8 +1333,8 @@ int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
...
@@ -1333,8 +1333,8 @@ int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
ts_max
=
e
->
timestamp
;
ts_max
=
e
->
timestamp
;
pos_limit
=
pos_max
-
e
->
min_distance
;
pos_limit
=
pos_max
-
e
->
min_distance
;
#ifdef DEBUG_SEEK
#ifdef DEBUG_SEEK
av_log
(
s
,
AV_LOG_DEBUG
,
"using cached pos_max=0x%"
PRIx64
" pos_limit=0x%"
PRIx64
" dts_max=%"
PRId64
"
\n
"
,
av_log
(
s
,
AV_LOG_DEBUG
,
"using cached pos_max=0x%"
PRIx64
" pos_limit=0x%"
PRIx64
" dts_max=%"
PRId64
"
\n
"
,
pos_max
,
pos_limit
,
ts_max
);
pos_max
,
pos_limit
,
ts_max
);
#endif
#endif
}
}
}
}
...
@@ -1432,7 +1432,9 @@ int64_t av_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, i
...
@@ -1432,7 +1432,9 @@ int64_t av_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, i
else
else
no_change
=
0
;
no_change
=
0
;
#ifdef DEBUG_SEEK
#ifdef DEBUG_SEEK
av_log
(
s
,
AV_LOG_DEBUG
,
"%"
PRId64
" %"
PRId64
" %"
PRId64
" / %"
PRId64
" %"
PRId64
" %"
PRId64
" target:%"
PRId64
" limit:%"
PRId64
" start:%"
PRId64
" noc:%d
\n
"
,
pos_min
,
pos
,
pos_max
,
ts_min
,
ts
,
ts_max
,
target_ts
,
pos_limit
,
start_pos
,
no_change
);
av_log
(
s
,
AV_LOG_DEBUG
,
"%"
PRId64
" %"
PRId64
" %"
PRId64
" / %"
PRId64
" %"
PRId64
" %"
PRId64
" target:%"
PRId64
" limit:%"
PRId64
" start:%"
PRId64
" noc:%d
\n
"
,
pos_min
,
pos
,
pos_max
,
ts_min
,
ts
,
ts_max
,
target_ts
,
pos_limit
,
start_pos
,
no_change
);
#endif
#endif
if
(
ts
==
AV_NOPTS_VALUE
){
if
(
ts
==
AV_NOPTS_VALUE
){
av_log
(
s
,
AV_LOG_ERROR
,
"read_timestamp() failed in the middle
\n
"
);
av_log
(
s
,
AV_LOG_ERROR
,
"read_timestamp() failed in the middle
\n
"
);
...
...
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