Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-18 00:56:39 +0300
committerJames Almer <jamrial@gmail.com>2017-09-18 01:01:40 +0300
commit98d7ad085e20f7cd3347bbaff251bd687db733ee (patch)
tree7b9fe6a5e24becd5f55161a9e7dfdc5beb15ecab /libavcodec/exrdsp.c
parent9b8c1224d7e1804b0b750de11e6a8c4648f1e115 (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/exrdsp.c')
-rw-r--r--libavcodec/exrdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exrdsp.c b/libavcodec/exrdsp.c
index e59dac3dc4..871b6f1276 100644
--- a/libavcodec/exrdsp.c
+++ b/libavcodec/exrdsp.c
@@ -24,7 +24,7 @@
#include "exrdsp.h"
#include "config.h"
-static void reorder_pixels_scalar(uint8_t *src, uint8_t *dst, ptrdiff_t size)
+static void reorder_pixels_scalar(uint8_t *dst, const uint8_t *src, ptrdiff_t size)
{
const uint8_t *t1 = src;
int half_size = size / 2;