Commit 30266c92 authored by Stefano Sabatini's avatar Stefano Sabatini

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
parent e7f98e4e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment