Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-16 04:44:22 +0300
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-17 00:18:21 +0300
commitcd8a0a9a9a9ea501367e7f1d17e70cde62e4c746 (patch)
tree7df7e38297a3989ffff8935be1c193a1f5c51e55 /libswscale
parent02daf2b36025012bc9dee8bd2ba5d5934f950558 (diff)
swscale/swscale: add av_warn_unused_result to sws_init_context
This should not trigger any warnings; but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index ff3f630ec1..da9dd2ea8f 100644
--- 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);
/**