[FFmpeg-devel] [PATCH] lavfi/transpose: support more pix fmts

Michael Niedermayer michaelni at gmx.at
Wed Feb 13 04:37:10 CET 2013


On Tue, Feb 12, 2013 at 02:10:14PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
[...]
> @@ -236,6 +246,10 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
>                  for (x = 0; x < outw; x++)
>                      *((uint32_t *)(dst + 4*x)) = *((uint32_t *)(src + x*srclinesize + y*4));
>                  break;
> +            case 6:
> +                for (x = 0; x < outw; x++)
> +                    *((uint64_t *)(dst + 6*x)) = *((uint64_t *)(src + x*srclinesize + y*6));
> +                break;

shouldnt this r/w 48bit instead of 64 ?

rest of the patch LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130213/be70e952/attachment.asc>


More information about the ffmpeg-devel mailing list