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
release/0.6
Stefano Sabatini 16 years ago
parent e7f98e4e94
commit 30266c9286
  1. 2
      libavcodec/pixdesc.h

@ -72,7 +72,7 @@ typedef struct AVPixFmtDescriptor{
*/ */
extern const AVPixFmtDescriptor av_pix_fmt_descriptors[]; 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]; AVComponentDescriptor comp= desc->comp[c];
int plane= comp.plane; int plane= comp.plane;

Loading…
Cancel
Save