Revision 1b41c8eaca3d28c16882cb1c281bbd3108a64ecf authored by Filip Roséen on 09 March 2016, 11:50:01 UTC, committed by Jean-Baptiste Kempf on 09 March 2016, 11:57:29 UTC
Outputting the percentage when we do not have any (-1.f) is of no use,
this patch properly makes use diagnose what we actually have (either a
fixed location, or the percentage).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent 4f65458
Raw File
vlc_mime.h
/*****************************************************************************
 * vlc_mime.h: Mime type recognition
 *****************************************************************************
 * Copyright (C) 2012 VLC authors and VideoLAN
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This program 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 *****************************************************************************/

#ifndef VLC_MIME_H
#define VLC_MIME_H 1

/**
 * \file
 * Mime type recognition helpers.
 */

VLC_API const char * vlc_mime_Ext2Mime( const char *psz_url );

#endif /* _VLC_MIME_H */
back to top