diff options
author | James Almer <jamrial@gmail.com> | 2017-09-18 00:56:39 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-18 01:01:40 +0300 |
commit | 98d7ad085e20f7cd3347bbaff251bd687db733ee (patch) | |
tree | 7b9fe6a5e24becd5f55161a9e7dfdc5beb15ecab /libavcodec/exr.c | |
parent | 9b8c1224d7e1804b0b750de11e6a8c4648f1e115 (diff) |
avcodec/exrdsp: improve the ExrDSPContext->reorder_pixels prototype
Make dst be the first parameter and src const. It's more in line with the rest of the codebase.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r-- | libavcodec/exr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index de2f05d3a9..230d5bbca8 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -289,7 +289,7 @@ static int zip_uncompress(EXRContext *s, const uint8_t *src, int compressed_size av_assert1(uncompressed_size % 2 == 0); predictor(td->tmp, uncompressed_size); - s->dsp.reorder_pixels(td->tmp, td->uncompressed_data, uncompressed_size); + s->dsp.reorder_pixels(td->uncompressed_data, td->tmp, uncompressed_size); return 0; } @@ -336,7 +336,7 @@ static int rle_uncompress(EXRContext *ctx, const uint8_t *src, int compressed_si av_assert1(uncompressed_size % 2 == 0); predictor(td->tmp, uncompressed_size); - ctx->dsp.reorder_pixels(td->tmp, td->uncompressed_data, uncompressed_size); + ctx->dsp.reorder_pixels(td->uncompressed_data, td->tmp, uncompressed_size); return 0; } |