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
b198e33a
Commit
b198e33a
authored
Jul 21, 2013
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: fix build with disabled avfilter
Got broken in
b383498e
. Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
c25d1ba5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ffplay.c
ffplay.c
+4
-0
No files found.
ffplay.c
View file @
b198e33a
...
@@ -2175,7 +2175,11 @@ static int audio_decode_frame(VideoState *is)
...
@@ -2175,7 +2175,11 @@ static int audio_decode_frame(VideoState *is)
else
if
(
is
->
frame
->
pkt_pts
!=
AV_NOPTS_VALUE
)
else
if
(
is
->
frame
->
pkt_pts
!=
AV_NOPTS_VALUE
)
is
->
frame
->
pts
=
av_rescale_q
(
is
->
frame
->
pkt_pts
,
is
->
audio_st
->
time_base
,
tb
);
is
->
frame
->
pts
=
av_rescale_q
(
is
->
frame
->
pkt_pts
,
is
->
audio_st
->
time_base
,
tb
);
else
if
(
is
->
audio_frame_next_pts
!=
AV_NOPTS_VALUE
)
else
if
(
is
->
audio_frame_next_pts
!=
AV_NOPTS_VALUE
)
#if CONFIG_AVFILTER
is
->
frame
->
pts
=
av_rescale_q
(
is
->
audio_frame_next_pts
,
(
AVRational
){
1
,
is
->
audio_filter_src
.
freq
},
tb
);
is
->
frame
->
pts
=
av_rescale_q
(
is
->
audio_frame_next_pts
,
(
AVRational
){
1
,
is
->
audio_filter_src
.
freq
},
tb
);
#else
is
->
frame
->
pts
=
av_rescale_q
(
is
->
audio_frame_next_pts
,
(
AVRational
){
1
,
is
->
audio_src
.
freq
},
tb
);
#endif
if
(
is
->
frame
->
pts
!=
AV_NOPTS_VALUE
)
if
(
is
->
frame
->
pts
!=
AV_NOPTS_VALUE
)
is
->
audio_frame_next_pts
=
is
->
frame
->
pts
+
is
->
frame
->
nb_samples
;
is
->
audio_frame_next_pts
=
is
->
frame
->
pts
+
is
->
frame
->
nb_samples
;
...
...
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