Mercurial > mplayer.hg
view libmpdemux/asfheader.h @ 35361:3e8dcfa3ceef
Prevent unintended sign extension from int to long on 64-bit machines.
If the property format is 32, the property data will be stored as
an array of longs (which on 64-bit machines will be 64-bit values
that are padded in the upper 4 bytes).
author | ib |
---|---|
date | Fri, 23 Nov 2012 12:08:56 +0000 |
parents | 5df7d33f5545 |
children |
line wrap: on
line source
/* * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * MPlayer is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with MPlayer; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef MPLAYER_ASFHEADER_H #define MPLAYER_ASFHEADER_H #include "asf.h" #include "demuxer.h" int asf_check_header(demuxer_t *demuxer); int read_asf_header(demuxer_t *demuxer, struct asf_priv *asf); #endif /* MPLAYER_ASFHEADER_H */