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
e99179de
Commit
e99179de
authored
Oct 07, 2010
by
Aurelien Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless local variable
Originally committed as revision 25394 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3e4318bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
utils.c
libavformat/utils.c
+2
-3
No files found.
libavformat/utils.c
View file @
e99179de
...
...
@@ -1879,7 +1879,6 @@ static void av_estimate_timings_from_bit_rate(AVFormatContext *ic)
/* only usable for MPEG-PS streams */
static
void
av_estimate_timings_from_pts
(
AVFormatContext
*
ic
,
int64_t
old_offset
)
{
unsigned
int
nb_streams
=
ic
->
nb_streams
;
AVPacket
pkt1
,
*
pkt
=
&
pkt1
;
AVStream
*
st
;
int
read_size
,
i
,
ret
;
...
...
@@ -1892,7 +1891,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset
/* flush packet queue */
flush_packet_queue
(
ic
);
for
(
i
=
0
;
i
<
nb_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
ic
->
nb_streams
;
i
++
)
{
st
=
ic
->
streams
[
i
];
if
(
st
->
start_time
==
AV_NOPTS_VALUE
&&
st
->
first_dts
==
AV_NOPTS_VALUE
)
av_log
(
st
->
codec
,
AV_LOG_WARNING
,
"start time is not set in av_estimate_timings_from_pts
\n
"
);
...
...
@@ -1949,7 +1948,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset
fill_all_stream_timings
(
ic
);
url_fseek
(
ic
->
pb
,
old_offset
,
SEEK_SET
);
for
(
i
=
0
;
i
<
nb_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
ic
->
nb_streams
;
i
++
)
{
st
=
ic
->
streams
[
i
];
st
->
cur_dts
=
st
->
first_dts
;
st
->
last_IP_pts
=
AV_NOPTS_VALUE
;
...
...
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