diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-31 18:18:14 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-31 18:18:14 +0000 |
commit | 30266c928682c41abb091536c043dadb297cd60f (patch) | |
tree | e5160adbaa47d66a5f2aa464a680f3bb50da1a06 | |
parent | e7f98e4e94c851f82c9e24accb69ad61ed6ecb10 (diff) | |
download | ffmpeg-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.h | 2 |
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; |