Hi On Thu, Jan 25, 2007 at 12:53:14AM +0000, M?ns Rullg?rd wrote: > Michael Niedermayer <michaelni at gmx.at> writes: > > > Hi > > > > On Wed, Jan 24, 2007 at 04:39:40PM +0100, Panagiotis Issaris wrote: > >> Hi, > >> > >> The attached patch adds the const specifier as needed in the snow.c > >> file. This to reduce the number of warnings. > >> > >> With friendly regards, > >> Takis > >> -- > >> vCard: http://www.issaris.org/pi.vcf > >> Public key: http://www.issaris.org/pi.key > > > >> diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h > >> index 78109f7..1574267 100644 > >> --- a/libavcodec/dsputil.h > >> +++ b/libavcodec/dsputil.h > >> @@ -388,7 +388,7 @@ typedef struct DSPContext { > >> /* snow wavelet */ > >> void (*vertical_compose97i)(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, DWTELEM *b3, DWTELEM *b4, DWTELEM *b5, int width); > >> void (*horizontal_compose97i)(DWTELEM *b, int width); > >> - void (*inner_add_yblock)(uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8); > >> + void (*inner_add_yblock)(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8); > > > > how does changing int obmc_stride to const supress a warning? > > That one was already const. The patch changes the uint8_t *obmc to > const, which might well make a difference. ohh indeed i should look more carefull ... anyway changing obmc to const is ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I count him braver who overcomes his desires than him who conquers his enemies for the hardest victory is over self. -- Aristotle -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070125/af48b922/attachment.pgp>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4