Skip to content

Commit

Permalink
avdevice/pulse_audio_common: add av_warn_unused_result
Browse files Browse the repository at this point in the history
This does not trigger any warnings, but adds robustness.

Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
  • Loading branch information
Ganesh Ajjanagadde committed Oct 22, 2015
1 parent e7d9061 commit a7c5005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavdevice/pulse_audio_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a7c5005

Please sign in to comment.