You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
@@ -150,6 +150,7 @@ struct SwsContext *sws_alloc_context(void);
|
|||||||
* @return zero or positive value on success, a negative value on
|
* @return zero or positive value on success, a negative value on
|
||||||
* error
|
* error
|
||||||
*/
|
*/
|
||||||
|
av_warn_unused_result
|
||||||
int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
|
int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user