git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d82a6
)
swscale/swscale: fix srcStride/srcSlice typo
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 15 Apr 2014 23:55:08 +0000
(
01:55
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Apr 2014 00:09:39 +0000
(
02:09
+0200)
Fixes part of Ticket3466
Found by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index
b73a1f2
..
56fa1ee
100644
(file)
--- 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 (!srcS
lic
e || !dstStride || !dst || !srcSlice) {
+ if (!srcS
trid
e || !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;
}