diff options
Diffstat (limited to 'libmpcodecs/vd_hmblck.c')
-rw-r--r-- | libmpcodecs/vd_hmblck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_hmblck.c b/libmpcodecs/vd_hmblck.c index 096f081d18..f3b7a71026 100644 --- a/libmpcodecs/vd_hmblck.c +++ b/libmpcodecs/vd_hmblck.c @@ -90,7 +90,7 @@ static int nv12_to_yv12(unsigned char *data, int len, mp_image_t* mpi, int swapp // chroma data is interlaced UVUV... so deinterlace it for(idx=0; idx<UV_size; idx++ ) { - *(dst_U + idx) = *(src + (idx<<1) + (swapped ? 1 : 0)); + *(dst_U + idx) = *(src + (idx<<1) + (swapped ? 1 : 0)); *(dst_V + idx) = *(src + (idx<<1) + (swapped ? 0 : 1)); } return 1; |