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:
02daf2b
)
swscale/swscale: add av_warn_unused_result to sws_init_context
author
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Fri, 16 Oct 2015 01:44:22 +0000
(21:44 -0400)
committer
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Fri, 16 Oct 2015 21:18:21 +0000
(17:18 -0400)
This should not trigger any warnings; but adds robustness.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libswscale/swscale.h
patch
|
blob
|
history
diff --git
a/libswscale/swscale.h
b/libswscale/swscale.h
index
ff3f630
..
da9dd2e
100644
(file)
--- a/
libswscale/swscale.h
+++ b/
libswscale/swscale.h
@@
-150,6
+150,7
@@
struct SwsContext *sws_alloc_context(void);
* @return zero or positive value on success, a negative value on
* error
*/
+av_warn_unused_result
int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
/**