Browse Source

swr: Fix assignment discards qualifiers from pointer target type warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer 13 years ago
parent
commit
a911177276
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libswresample/swresample_internal.h

+ 1 - 1
libswresample/swresample_internal.h

@@ -33,7 +33,7 @@ typedef struct AudioData{
 } AudioData;
 
 typedef struct SwrContext {          //FIXME find unused fields
-    AVClass *av_class;
+    const AVClass *av_class;
     int log_level_offset;
     void *log_ctx;
     enum AVSampleFormat  in_sample_fmt;