[FFmpeg-devel] [PATCH 08/11] avdevice/oss: add av_warn_unused_result
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Fri Oct 16 04:22:22 CEST 2015
This does not trigger any warnings, but adds robustness.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
libavdevice/oss.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/oss.h b/libavdevice/oss.h
index 1f3f5e4..c5eab75 100644
--- a/libavdevice/oss.h
+++ b/libavdevice/oss.h
@@ -37,6 +37,7 @@ typedef struct OSSAudioData {
int buffer_ptr;
} OSSAudioData;
+av_warn_unused_result
int ff_oss_audio_open(AVFormatContext *s1, int is_output,
const char *audio_device);
--
2.6.1
More information about the ffmpeg-devel
mailing list