[FFmpeg-cvslog] avdevice/internal: add av_warn_unused_result
Ganesh Ajjanagadde
git at videolan.org
Fri Oct 16 23:30:17 CEST 2015
ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Thu Oct 15 21:49:30 2015 -0400| [6d0c8cb79ac0977099e1f6afb28465bd587c5706] | committer: Ganesh Ajjanagadde
avdevice/internal: add av_warn_unused_result
This does not trigger any warnings but adds robustness.
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d0c8cb79ac0977099e1f6afb28465bd587c5706
---
libavdevice/internal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/internal.h b/libavdevice/internal.h
index 3cd1b06..e222cf2 100644
--- a/libavdevice/internal.h
+++ b/libavdevice/internal.h
@@ -21,6 +21,7 @@
#include "libavformat/avformat.h"
+av_warn_unused_result
int ff_alloc_input_device_context(struct AVFormatContext **avctx, struct AVInputFormat *iformat,
const char *format);
More information about the ffmpeg-cvslog
mailing list