summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_mirror.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_mirror.c')
-rw-r--r--video/filter/vf_mirror.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/filter/vf_mirror.c b/video/filter/vf_mirror.c
index b826ee46f7..56fc2ebb3d 100644
--- a/video/filter/vf_mirror.c
+++ b/video/filter/vf_mirror.c
@@ -50,8 +50,7 @@ static void mirror(unsigned char* dst,unsigned char* src,int dststride,int srcst
dst[x*4+3]=src[1+(w2-x-1)*4];
}
break; }
- case IMGFMT_YUY2:
- case IMGFMT_YVYU: {
+ case IMGFMT_YUYV: {
// packed YUV is tricky. U,V are 32bpp while Y is 16bpp:
int w2=w>>1;
for(x=0;x<w2;x++){