repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git]
/
ffmpeg
/
tests
/
utils.c
diff --git
a/ffmpeg/tests/utils.c
b/ffmpeg/tests/utils.c
index e8ef06f7efa8bf49fec6b6dc74cbd3f5907db2ed..dde6e03c41477b43bde33da2735aefe3dd26807b 100644
(file)
--- a/
ffmpeg/tests/utils.c
+++ b/
ffmpeg/tests/utils.c
@@
-35,12
+35,12
@@
} while (0)
static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
} while (0)
static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
- unsigned char *cr, unsigned char *src,
+ unsigned char *cr,
const
unsigned char *src,
int width, int height)
{
int wrap, wrap3, x, y;
int r, g, b, r1, g1, b1;
int width, int height)
{
int wrap, wrap3, x, y;
int r, g, b, r1, g1, b1;
- unsigned char *p;
+
const
unsigned char *p;
wrap = width;
wrap3 = width * 3;
wrap = width;
wrap3 = width * 3;
@@
-104,7
+104,7
@@
static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
#define DEFAULT_NB_PICT 50
static void pgmyuv_save(const char *filename, int w, int h,
#define DEFAULT_NB_PICT 50
static void pgmyuv_save(const char *filename, int w, int h,
- unsigned char *rgb_tab)
+
const
unsigned char *rgb_tab)
{
FILE *f;
int i, h2, w2;
{
FILE *f;
int i, h2, w2;