[vlc-devel] commit: Id3tag: constify when possible. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Aug 21 20:17:58 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 21 18:43:58 2009 +0200| [7979c8dcadec25bf2d4643c892f163a335c62fd0] | committer: Jean-Baptiste Kempf
Id3tag: constify when possible.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7979c8dcadec25bf2d4643c892f163a335c62fd0
---
modules/meta_engine/id3tag.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/meta_engine/id3tag.c b/modules/meta_engine/id3tag.c
index 186e6cc..4079d52 100644
--- a/modules/meta_engine/id3tag.c
+++ b/modules/meta_engine/id3tag.c
@@ -136,7 +136,7 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
while( i_data >= 4 )
{
const unsigned int i_peak_size = p_data[3];
- float f_temp = GetWBE( &p_data[1] );
+ const float f_temp = GetWBE( &p_data[1] );
const float f_gain = f_temp / 512.0;
char psz_value[32];
More information about the vlc-devel
mailing list