OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b079a
)
avdevice/internal: add av_warn_unused_result
author
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Fri, 16 Oct 2015 01:49:30 +0000
(21:49 -0400)
committer
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Fri, 16 Oct 2015 21:28:40 +0000
(17:28 -0400)
This does not trigger any warnings but adds robustness.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavdevice/internal.h
patch
|
blob
|
history
diff --git
a/libavdevice/internal.h
b/libavdevice/internal.h
index
3cd1b06
..
e222cf2
100644
(file)
--- 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);