Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a02533c3
Commit
a02533c3
authored
Feb 07, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* include/vlc_es.h: s/es_format_Free/es_format_Clean.
parent
f6fd063a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
include/vlc_es.h
include/vlc_es.h
+6
-2
modules/demux/ogg.c
modules/demux/ogg.c
+2
-2
No files found.
include/vlc_es.h
View file @
a02533c3
...
...
@@ -2,7 +2,7 @@
* vlc_es.h: Elementary stream formats descriptions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: vlc_es.h,v 1.
9 2004/02/07 00:16:34
gbazin Exp $
* $Id: vlc_es.h,v 1.
10 2004/02/07 00:33:08
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -196,12 +196,16 @@ static inline void es_format_Copy( es_format_t *dst, es_format_t *src )
}
}
static
inline
void
es_format_
Free
(
es_format_t
*
fmt
)
static
inline
void
es_format_
Clean
(
es_format_t
*
fmt
)
{
if
(
fmt
->
psz_language
)
free
(
fmt
->
psz_language
);
fmt
->
psz_language
=
0
;
if
(
fmt
->
psz_description
)
free
(
fmt
->
psz_description
);
fmt
->
psz_description
=
0
;
if
(
fmt
->
i_extra
>
0
)
free
(
fmt
->
p_extra
);
fmt
->
i_extra
=
0
;
fmt
->
p_extra
=
0
;
if
(
fmt
->
video
.
p_palette
)
free
(
fmt
->
video
.
p_palette
);
fmt
->
video
.
p_palette
=
0
;
}
#endif
modules/demux/ogg.c
View file @
a02533c3
...
...
@@ -2,7 +2,7 @@
* ogg.c : ogg stream demux module for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: ogg.c,v 1.5
5 2004/02/07 00:16:34
gbazin Exp $
* $Id: ogg.c,v 1.5
6 2004/02/07 00:33:08
gbazin Exp $
*
* Author: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -1111,7 +1111,7 @@ static void Ogg_EndOfStream( input_thread_t *p_input, demux_sys_t *p_ogg )
if
(
p_ogg
->
pp_stream
[
i_stream
]
->
p_packets_backup
)
free
(
p_ogg
->
pp_stream
[
i_stream
]
->
p_packets_backup
);
es_format_
Free
(
&
p_stream
->
fmt
);
es_format_
Clean
(
&
p_stream
->
fmt
);
free
(
p_ogg
->
pp_stream
[
i_stream
]
);
}
...
...
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