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
b751f611
Commit
b751f611
authored
Jun 02, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove stray extra arguments from av_dlog() invocations.
parent
551dfdde
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
mpeg.c
libavformat/mpeg.c
+1
-1
mpegenc.c
libavformat/mpegenc.c
+1
-1
mpegts.c
libavformat/mpegts.c
+1
-1
oggdec.c
libavformat/oggdec.c
+4
-6
No files found.
libavformat/mpeg.c
View file @
b751f611
...
@@ -569,7 +569,7 @@ static int mpegps_read_packet(AVFormatContext *s,
...
@@ -569,7 +569,7 @@ static int mpegps_read_packet(AVFormatContext *s,
pkt
->
dts
=
dts
;
pkt
->
dts
=
dts
;
pkt
->
pos
=
dummy_pos
;
pkt
->
pos
=
dummy_pos
;
pkt
->
stream_index
=
st
->
index
;
pkt
->
stream_index
=
st
->
index
;
av_dlog
(
s
,
AV_LOG_DEBUG
,
"%d: pts=%0.3f dts=%0.3f size=%d
\n
"
,
av_dlog
(
s
,
"%d: pts=%0.3f dts=%0.3f size=%d
\n
"
,
pkt
->
stream_index
,
pkt
->
pts
/
90000
.
0
,
pkt
->
dts
/
90000
.
0
,
pkt
->
stream_index
,
pkt
->
pts
/
90000
.
0
,
pkt
->
dts
/
90000
.
0
,
pkt
->
size
);
pkt
->
size
);
...
...
libavformat/mpegenc.c
View file @
b751f611
...
@@ -1075,7 +1075,7 @@ retry:
...
@@ -1075,7 +1075,7 @@ retry:
best_dts
=
pkt_desc
->
dts
;
best_dts
=
pkt_desc
->
dts
;
}
}
av_dlog
(
ctx
,
AV_LOG_DEBUG
,
"bumping scr, scr:%f, dts:%f
\n
"
,
av_dlog
(
ctx
,
"bumping scr, scr:%f, dts:%f
\n
"
,
scr
/
90000
.
0
,
best_dts
/
90000
.
0
);
scr
/
90000
.
0
,
best_dts
/
90000
.
0
);
if
(
best_dts
==
INT64_MAX
)
if
(
best_dts
==
INT64_MAX
)
return
0
;
return
0
;
...
...
libavformat/mpegts.c
View file @
b751f611
...
@@ -1555,7 +1555,7 @@ static int mpegts_read_header(AVFormatContext *s,
...
@@ -1555,7 +1555,7 @@ static int mpegts_read_header(AVFormatContext *s,
s
->
bit_rate
=
(
TS_PACKET_SIZE
*
8
)
*
27e6
/
ts
->
pcr_incr
;
s
->
bit_rate
=
(
TS_PACKET_SIZE
*
8
)
*
27e6
/
ts
->
pcr_incr
;
st
->
codec
->
bit_rate
=
s
->
bit_rate
;
st
->
codec
->
bit_rate
=
s
->
bit_rate
;
st
->
start_time
=
ts
->
cur_pcr
;
st
->
start_time
=
ts
->
cur_pcr
;
av_dlog
(
ts
->
stream
,
AV_LOG_DEBUG
,
"start=%0.3f pcr=%0.3f incr=%d
\n
"
,
av_dlog
(
ts
->
stream
,
"start=%0.3f pcr=%0.3f incr=%d
\n
"
,
st
->
start_time
/
1000000
.
0
,
pcrs
[
0
]
/
27e6
,
ts
->
pcr_incr
);
st
->
start_time
/
1000000
.
0
,
pcrs
[
0
]
/
27e6
,
ts
->
pcr_incr
);
}
}
...
...
libavformat/oggdec.c
View file @
b751f611
...
@@ -310,7 +310,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
...
@@ -310,7 +310,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
int
complete
=
0
;
int
complete
=
0
;
int
segp
=
0
,
psize
=
0
;
int
segp
=
0
,
psize
=
0
;
av_dlog
(
s
,
AV_LOG_DEBUG
,
"ogg_packet: curidx=%i
\n
"
,
ogg
->
curidx
);
av_dlog
(
s
,
"ogg_packet: curidx=%i
\n
"
,
ogg
->
curidx
);
do
{
do
{
idx
=
ogg
->
curidx
;
idx
=
ogg
->
curidx
;
...
@@ -322,8 +322,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
...
@@ -322,8 +322,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
os
=
ogg
->
streams
+
idx
;
os
=
ogg
->
streams
+
idx
;
av_dlog
(
s
,
AV_LOG_DEBUG
,
av_dlog
(
s
,
"ogg_packet: idx=%d pstart=%d psize=%d segp=%d nsegs=%d
\n
"
,
"ogg_packet: idx=%d pstart=%d psize=%d segp=%d nsegs=%d
\n
"
,
idx
,
os
->
pstart
,
os
->
psize
,
os
->
segp
,
os
->
nsegs
);
idx
,
os
->
pstart
,
os
->
psize
,
os
->
segp
,
os
->
nsegs
);
if
(
!
os
->
codec
){
if
(
!
os
->
codec
){
...
@@ -356,8 +355,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
...
@@ -356,8 +355,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
}
}
}
while
(
!
complete
);
}
while
(
!
complete
);
av_dlog
(
s
,
AV_LOG_DEBUG
,
av_dlog
(
s
,
"ogg_packet: idx %i, frame size %i, start %i
\n
"
,
"ogg_packet: idx %i, frame size %i, start %i
\n
"
,
idx
,
os
->
psize
,
os
->
pstart
);
idx
,
os
->
psize
,
os
->
pstart
);
if
(
os
->
granule
==
-
1
)
if
(
os
->
granule
==
-
1
)
...
@@ -438,7 +436,7 @@ static int ogg_get_headers(AVFormatContext *s)
...
@@ -438,7 +436,7 @@ static int ogg_get_headers(AVFormatContext *s)
return
-
1
;
return
-
1
;
}
while
(
!
ogg
->
headers
);
}
while
(
!
ogg
->
headers
);
av_dlog
(
s
,
AV_LOG_DEBUG
,
"found headers
\n
"
);
av_dlog
(
s
,
"found headers
\n
"
);
return
0
;
return
0
;
}
}
...
...
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