changeset 9310:ef6fd4b99c50 libavcodec

Make read_line() take as parameter a const AVPixFmtDescriptor * rather than a (non const) AVPixFmtDescriptor *.
author stefano
date Tue, 31 Mar 2009 18:18:14 +0000
parents 66260a50c830
children 5d20b2610662
files pixdesc.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pixdesc.h	Tue Mar 31 15:50:11 2009 +0000
+++ b/pixdesc.h	Tue Mar 31 18:18:14 2009 +0000
@@ -72,7 +72,7 @@
  */
 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;