diff --git a/examples/dumpmovie.c b/examples/dumpmovie.c index 7821afc..ee8ef63 100644 --- a/examples/dumpmovie.c +++ b/examples/dumpmovie.c @@ -124,9 +124,10 @@ int main(int argc, char *argv[]) for (x = 0; x < ctx->width; x++, off++) { + /* Reorder components to store YUVA */ data[4 * off] = dst[0][off]; - data[4 * off + 1] = dst[1][off]; - data[4 * off + 2] = dst[2][off]; + data[4 * off + 1] = dst[2][off]; + data[4 * off + 2] = dst[1][off]; data[4 * off + 3] = 0xff; } }