From 30266c928682c41abb091536c043dadb297cd60f Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 31 Mar 2009 18:18:14 +0000 Subject: [PATCH] Make read_line() take as parameter a const AVPixFmtDescriptor * rather than a (non const) AVPixFmtDescriptor *. Originally committed as revision 18275 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pixdesc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pixdesc.h b/libavcodec/pixdesc.h index f21d6f0750..d27181a942 100644 --- a/libavcodec/pixdesc.h +++ b/libavcodec/pixdesc.h @@ -72,7 +72,7 @@ typedef struct AVPixFmtDescriptor{ */ extern const AVPixFmtDescriptor av_pix_fmt_descriptors[]; -static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w) +static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], const AVPixFmtDescriptor *desc, int x, int y, int c, int w) { AVComponentDescriptor comp= desc->comp[c]; int plane= comp.plane;