[FFmpeg-cvslog] swr: Fix assignment discards qualifiers from pointer target type warning.

Michael Niedermayer git at videolan.org
Fri Oct 21 00:42:41 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 21 00:33:04 2011 +0200| [a911177276d8d600fe79909b15af593dbd57a938] | committer: Michael Niedermayer

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a911177276d8d600fe79909b15af593dbd57a938
---

 libswresample/swresample_internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index 4c6cf67..3137be6 100644
--- a/libswresample/swresample_internal.h
+++ b/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;



More information about the ffmpeg-cvslog mailing list