Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6463:9f397992ddff | 6464:0c3cc1d7a0b3 |
---|---|
46 #define FILTER_BITS 8 | 46 #define FILTER_BITS 8 |
47 | 47 |
48 #define LINE_BUF_HEIGHT (NB_TAPS * 4) | 48 #define LINE_BUF_HEIGHT (NB_TAPS * 4) |
49 | 49 |
50 struct SwsContext { | 50 struct SwsContext { |
51 AVClass *av_class; | 51 const AVClass *av_class; |
52 struct ImgReSampleContext *resampling_ctx; | 52 struct ImgReSampleContext *resampling_ctx; |
53 enum PixelFormat src_pix_fmt, dst_pix_fmt; | 53 enum PixelFormat src_pix_fmt, dst_pix_fmt; |
54 }; | 54 }; |
55 | 55 |
56 struct ImgReSampleContext { | 56 struct ImgReSampleContext { |