aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-16 01:55:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-22 00:21:28 +0200
commite459c80fdd13ec3b43a19c5383c6a934ed43644c (patch)
tree1925ed23e46f7270f85bebe099ad4da7c51a5ab3
parent15f122316eefef111605e7f747e7a5843d6b9560 (diff)
downloadffmpeg-e459c80fdd13ec3b43a19c5383c6a934ed43644c.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> (cherry picked from commit 14fa7fc6a81d5e59e05243cdc92108eab1b138ac) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 2c9e3da86e..74b7940841 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -794,7 +794,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;
}