OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1acfd
)
Start using intermediate buffers at index 0.
author
Ramiro Polla
<ramiro.polla@gmail.com>
Sun, 6 Dec 2009 22:01:25 +0000
(22:01 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Sun, 6 Dec 2009 22:01:25 +0000
(22:01 +0000)
These index variables are incremented before each use, so they should be
initialized to -1.
Originally committed as revision 29977 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale_template.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale_template.c
b/libswscale/swscale_template.c
index
935b8c5
..
675db6a
100644
(file)
--- a/
libswscale/swscale_template.c
+++ b/
libswscale/swscale_template.c
@@
-2661,8
+2661,8
@@
static int RENAME(swScale)(SwsContext *c, uint8_t* src[], int srcStride[], int s
will not get executed. This is not really intended but works
currently, so people might do it. */
if (srcSliceY ==0) {
- lumBufIndex=
0
;
- chrBufIndex=
0
;
+ lumBufIndex=
-1
;
+ chrBufIndex=
-1
;
dstY=0;
lastInLumBuf= -1;
lastInChrBuf= -1;