[FFmpeg-devel] [PATCH 03/11] avdevice/sndio: add av_warn_unused_result
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Fri Oct 16 04:22:17 CEST 2015
This does not trigger any warnings, but adds robustness.
Untested, as my configure does not compile this file.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
libavdevice/sndio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/sndio.h b/libavdevice/sndio.h
index 54a5ec3..6571429 100644
--- a/libavdevice/sndio.h
+++ b/libavdevice/sndio.h
@@ -42,6 +42,7 @@ typedef struct SndioData {
int sample_rate;
} SndioData;
+av_warn_unused_result
int ff_sndio_open(AVFormatContext *s1, int is_output, const char *audio_device);
int ff_sndio_close(SndioData *s);
--
2.6.1
More information about the ffmpeg-devel
mailing list