From 71cc8c1581214a556074b79b06144bfd49554285 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 1 May 2013 21:13:13 +0200 Subject: vf_rotate: fix for some obscure pixel formats Repurpose the 3 byte case for any unhandled pixel width. Fixes rotation with e.g. rgb48. Very inefficient, but works. --- video/filter/vf_rotate.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'video') diff --git a/video/filter/vf_rotate.c b/video/filter/vf_rotate.c index 9cdbafd94d..09b3d09add 100644 --- a/video/filter/vf_rotate.c +++ b/video/filter/vf_rotate.c @@ -52,15 +52,14 @@ static void rotate(unsigned char* dst,unsigned char* src,int dststride,int srcst case 2: for(x=0;x