Browse Source

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
tags/v0.6
Stefano Sabatini 16 years ago
parent
commit
30266c9286
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pixdesc.h

+ 1
- 1
libavcodec/pixdesc.h View File

@@ -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;


Loading…
Cancel
Save