diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-16 01:55:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-16 02:09:39 +0200 |
commit | 14fa7fc6a81d5e59e05243cdc92108eab1b138ac (patch) | |
tree | dc61c950f2f78a2843af4d089e877b1e9c2cad71 | |
parent | 79d82a65744b94406ac06677d42373879529926a (diff) | |
download | ffmpeg-14fa7fc6a81d5e59e05243cdc92108eab1b138ac.tar.gz |
swscale/swscale: fix srcStride/srcSlice typo
Fixes part of Ticket3466
Found by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index b73a1f2ab3..56fa1ee8eb 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -929,7 +929,7 @@ int attribute_align_arg sws_scale(struct SwsContext *c, uint8_t *dst2[4]; uint8_t *rgb0_tmp = NULL; - if (!srcSlice || !dstStride || !dst || !srcSlice) { + if (!srcStride || !dstStride || !dst || !srcSlice) { av_log(c, AV_LOG_ERROR, "One of the input parameters to sws_scale() is NULL, please check the calling code\n"); return 0; } |