aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-07-08 14:39:04 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-08 15:15:31 -0700
commit5c391a161a1f71dcdafd3f59b45d80220845f501 (patch)
tree925454ad9e63c85a90901ae1a1837fe828c265b6 /libswscale/utils.c
parent1ce724ee393a04a79cab9e7c28290fe7d82dadf2 (diff)
downloadffmpeg-5c391a161a1f71dcdafd3f59b45d80220845f501.tar.gz
swscale: rename uv_off/uv_off2 to uv_off_px/byte.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index fd10fa03fb..296c84557d 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1048,8 +1048,8 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter)
FF_ALLOCZ_OR_GOTO(c, c->lumPixBuf[i+c->vLumBufSize], dst_stride+1, fail);
c->lumPixBuf[i] = c->lumPixBuf[i+c->vLumBufSize];
}
- c->uv_off = dst_stride_px;
- c->uv_offx2 = dst_stride;
+ c->uv_off_px = dst_stride_px;
+ c->uv_off_byte = dst_stride;
for (i=0; i<c->vChrBufSize; i++) {
FF_ALLOC_OR_GOTO(c, c->chrUPixBuf[i+c->vChrBufSize], dst_stride*2+1, fail);
c->chrUPixBuf[i] = c->chrUPixBuf[i+c->vChrBufSize];