mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-26 20:50:34 +00:00
avdevice/pulse_audio_common: add av_warn_unused_result
This does not trigger any warnings, but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
parent
e7d9061d4f
commit
a7c5005d7b
@ -28,8 +28,10 @@
|
||||
|
||||
pa_sample_format_t ff_codec_id_to_pulse_format(enum AVCodecID codec_id);
|
||||
|
||||
av_warn_unused_result
|
||||
int ff_pulse_audio_get_devices(AVDeviceInfoList *devices, const char *server, int output);
|
||||
|
||||
av_warn_unused_result
|
||||
int ff_pulse_audio_connect_context(pa_mainloop **pa_ml, pa_context **pa_ctx,
|
||||
const char *server, const char *description);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user