Commit a7c5005d authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

avdevice/pulse_audio_common: add av_warn_unused_result

This does not trigger any warnings, but adds robustness.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent e7d9061d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment