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
a1e5be5c
Commit
a1e5be5c
authored
Apr 29, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/pulse_audio_enc: add pointer checks
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki2@gmail.com
>
parent
954a8f44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
pulse_audio_enc.c
libavdevice/pulse_audio_enc.c
+4
-2
No files found.
libavdevice/pulse_audio_enc.c
View file @
a1e5be5c
...
...
@@ -692,8 +692,10 @@ static void pulse_get_output_timestamp(AVFormatContext *h, int stream, int64_t *
pa_threaded_mainloop_lock
(
s
->
mainloop
);
pa_stream_get_latency
(
s
->
stream
,
&
latency
,
&
neg
);
pa_threaded_mainloop_unlock
(
s
->
mainloop
);
*
wall
=
av_gettime
();
*
dts
=
s
->
timestamp
-
(
neg
?
-
latency
:
latency
);
if
(
wall
)
*
wall
=
av_gettime
();
if
(
dts
)
*
dts
=
s
->
timestamp
-
(
neg
?
-
latency
:
latency
);
}
static
int
pulse_get_device_list
(
AVFormatContext
*
h
,
AVDeviceInfoList
*
device_list
)
...
...
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