Mercurial > mplayer.hg
comparison libmpcodecs/ve.c @ 32035:bc01ea7a6322
Mark encoder_list declaration as const pointers to const data, fixes:
libmpcodecs/ve.c:45: warning: initialization discards qualifiers from pointer target type
libmpcodecs/ve.c:56: warning: initialization discards qualifiers from pointer target type
libmpcodecs/ve.c:74: warning: passing argument 1 of 'vf_open_plugin' from incompatible pointer type
author | diego |
---|---|
date | Thu, 09 Sep 2010 16:47:45 +0000 |
parents | c42345605c7a |
children | 4614728cab25 |
comparison
equal
deleted
inserted
replaced
32034:ccf4905a8ca6 | 32035:bc01ea7a6322 |
---|---|
38 | 38 |
39 /* Please do not add any new encoders here. If you want to implement a new | 39 /* Please do not add any new encoders here. If you want to implement a new |
40 * encoder, add it to libavcodec, except for wrappers around external | 40 * encoder, add it to libavcodec, except for wrappers around external |
41 * libraries and encoders requiring binary support. */ | 41 * libraries and encoders requiring binary support. */ |
42 | 42 |
43 static vf_info_t* encoder_list[]={ | 43 static const vf_info_t * const encoder_list[] = { |
44 #ifdef CONFIG_LIBAVCODEC | 44 #ifdef CONFIG_LIBAVCODEC |
45 &ve_info_lavc, | 45 &ve_info_lavc, |
46 #endif | 46 #endif |
47 #ifdef CONFIG_WIN32DLL | 47 #ifdef CONFIG_WIN32DLL |
48 &ve_info_vfw, | 48 &ve_info_vfw, |