Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
0d22c967
Commit
0d22c967
authored
Jul 09, 2011
by
Jean-Baptiste Kempf
Browse files
Flac demux: misc cleanup
parent
8004f84e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/flac.c
View file @
0d22c967
/*****************************************************************************
* flac.c : FLAC demux module for vlc
*****************************************************************************
* Copyright (C) 2001-200
7
the VideoLAN team
* Copyright (C) 2001-200
8
the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -32,12 +32,13 @@
#include
<vlc_common.h>
#include
<vlc_plugin.h>
#include
<vlc_demux.h>
#include
<vlc_meta.h>
#include
<vlc_input.h>
#include
<vlc_codec.h>
#include
<vlc_meta.h>
/* vlc_meta_* */
#include
<vlc_input.h>
/* vlc_input_attachment, vlc_seekpoint */
#include
<vlc_codec.h>
/* decoder_t */
#include
<vlc_charset.h>
/* EnsureUTF8 */
#include
<assert.h>
#include
<vlc_charset.h>
#include
"vorbis.h"
#include
"vorbis.h"
/* vorbis comments */
/*****************************************************************************
* Module descriptor
...
...
@@ -621,7 +622,7 @@ static void ParsePicture( demux_t *p_demux, const uint8_t *p_data, int i_data )
if
(
i_len
<
0
||
i_len
>
i_data
)
goto
error
;
msg_Dbg
(
p_demux
,
"
FLAC:
Picture type=%d mime=%s description='%s' file length=%d"
,
msg_Dbg
(
p_demux
,
"Picture type=%d mime=%s description='%s' file length=%d"
,
i_type
,
psz_mime
,
psz_description
,
i_len
);
snprintf
(
psz_name
,
sizeof
(
psz_name
),
"picture%d"
,
p_sys
->
i_attachments
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment