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:
Ganesh Ajjanagadde 2015-10-15 21:52:01 -04:00
parent e7d9061d4f
commit a7c5005d7b

View File

@ -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);