Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
0d22c967
Commit
0d22c967
authored
Jul 09, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flac demux: misc cleanup
parent
8004f84e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/demux/flac.c
modules/demux/flac.c
+8
-7
No files found.
modules/demux/flac.c
View file @
0d22c967
/*****************************************************************************
/*****************************************************************************
* flac.c : FLAC demux module for vlc
* flac.c : FLAC demux module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-200
7
the VideoLAN team
* Copyright (C) 2001-200
8
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Authors: Gildas Bazin <gbazin@netcourrier.com>
...
@@ -32,12 +32,13 @@
...
@@ -32,12 +32,13 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_demux.h>
#include <vlc_demux.h>
#include <vlc_meta.h>
#include <vlc_meta.h>
/* vlc_meta_* */
#include <vlc_input.h>
#include <vlc_input.h>
/* vlc_input_attachment, vlc_seekpoint */
#include <vlc_codec.h>
#include <vlc_codec.h>
/* decoder_t */
#include <vlc_charset.h>
/* EnsureUTF8 */
#include <assert.h>
#include <assert.h>
#include <vlc_charset.h>
#include "vorbis.h"
/* vorbis comments */
#include "vorbis.h"
/*****************************************************************************
/*****************************************************************************
* Module descriptor
* Module descriptor
...
@@ -621,7 +622,7 @@ static void ParsePicture( demux_t *p_demux, const uint8_t *p_data, int i_data )
...
@@ -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
)
if
(
i_len
<
0
||
i_len
>
i_data
)
goto
error
;
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
);
i_type
,
psz_mime
,
psz_description
,
i_len
);
snprintf
(
psz_name
,
sizeof
(
psz_name
),
"picture%d"
,
p_sys
->
i_attachments
);
snprintf
(
psz_name
,
sizeof
(
psz_name
),
"picture%d"
,
p_sys
->
i_attachments
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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