diff imgresample.c @ 6464:0c3cc1d7a0b3 libavcodec

Make av_class a pointer to a const AVClass. Addresses one warning in imgresample.c.
author takis
date Thu, 06 Mar 2008 17:41:31 +0000
parents 442f96044f19
children 7829c158c1c4
line wrap: on
line diff
--- a/imgresample.c	Thu Mar 06 14:22:02 2008 +0000
+++ b/imgresample.c	Thu Mar 06 17:41:31 2008 +0000
@@ -48,7 +48,7 @@
 #define LINE_BUF_HEIGHT (NB_TAPS * 4)
 
 struct SwsContext {
-    AVClass *av_class;
+    const AVClass *av_class;
     struct ImgReSampleContext *resampling_ctx;
     enum PixelFormat src_pix_fmt, dst_pix_fmt;
 };