aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-31 18:18:14 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-31 18:18:14 +0000
commit30266c928682c41abb091536c043dadb297cd60f (patch)
treee5160adbaa47d66a5f2aa464a680f3bb50da1a06
parente7f98e4e94c851f82c9e24accb69ad61ed6ecb10 (diff)
downloadffmpeg-30266c928682c41abb091536c043dadb297cd60f.tar.gz
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
-rw-r--r--libavcodec/pixdesc.h2
1 files changed, 1 insertions, 1 deletions
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;