This does not trigger any warnings, but adds robustness.
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
---
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
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel