diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-15 21:52:01 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-22 19:03:50 -0400 |
commit | a7c5005d7becc3e9b5016af5334ca0f85b2be0b1 (patch) | |
tree | 282ec290966ea549449cadf64ea9c4339b19d141 /libavdevice | |
parent | e7d9061d4f932b382d1b7776e2e11729d4ff5b52 (diff) | |
download | ffmpeg-a7c5005d7becc3e9b5016af5334ca0f85b2be0b1.tar.gz |
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>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/pulse_audio_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/pulse_audio_common.h b/libavdevice/pulse_audio_common.h index 02534f79a1..902795e4f7 100644 --- a/libavdevice/pulse_audio_common.h +++ b/libavdevice/pulse_audio_common.h @@ -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); |