Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bfd3b95b
Commit
bfd3b95b
authored
May 24, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVI: remove unnecessary macros
parent
4c420f95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+2
-2
modules/demux/avi/libavi.h
modules/demux/avi/libavi.h
+5
-10
No files found.
modules/demux/avi/libavi.c
View file @
bfd3b95b
...
...
@@ -784,7 +784,7 @@ static int AVI_ChunkFunctionFind( vlc_fourcc_t i_fourcc )
}
}
int
_
AVI_ChunkRead
(
stream_t
*
s
,
avi_chunk_t
*
p_chk
,
avi_chunk_t
*
p_father
)
int
AVI_ChunkRead
(
stream_t
*
s
,
avi_chunk_t
*
p_chk
,
avi_chunk_t
*
p_father
)
{
int
i_index
;
...
...
@@ -823,7 +823,7 @@ int _AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father )
return
AVI_NextChunk
(
s
,
p_chk
);
}
void
_
AVI_ChunkFree
(
stream_t
*
s
,
void
AVI_ChunkFree
(
stream_t
*
s
,
avi_chunk_t
*
p_chk
)
{
int
i_index
;
...
...
modules/demux/avi/libavi.h
View file @
bfd3b95b
...
...
@@ -240,10 +240,10 @@ typedef union avi_chunk_u
/****************************************************************************
* Stream(input) access functions
****************************************************************************/
int
_
AVI_ChunkRead
(
stream_t
*
,
int
AVI_ChunkRead
(
stream_t
*
,
avi_chunk_t
*
p_chk
,
avi_chunk_t
*
p_father
);
void
_
AVI_ChunkFree
(
stream_t
*
,
avi_chunk_t
*
);
void
AVI_ChunkFree
(
stream_t
*
,
avi_chunk_t
*
);
int
_AVI_ChunkCount
(
avi_chunk_t
*
,
vlc_fourcc_t
);
void
*
_AVI_ChunkFind
(
avi_chunk_t
*
,
vlc_fourcc_t
,
int
);
...
...
@@ -251,17 +251,12 @@ void *_AVI_ChunkFind ( avi_chunk_t *, vlc_fourcc_t, int );
int
AVI_ChunkReadRoot
(
stream_t
*
,
avi_chunk_t
*
p_root
);
void
AVI_ChunkFreeRoot
(
stream_t
*
,
avi_chunk_t
*
p_chk
);
#define AVI_ChunkRead( s, p_chk, p_father ) \
_AVI_ChunkRead( s, p_chk, (avi_chunk_t*)p_father )
#define AVI_ChunkCount( p_chk, i_fourcc ) \
_AVI_ChunkCount(
(avi_chunk_t*)p_chk
, i_fourcc )
_AVI_ChunkCount(
AVI_CHUNK(p_chk)
, i_fourcc )
#define AVI_ChunkFind( p_chk, i_fourcc, i_number ) \
_AVI_ChunkFind( (avi_chunk_t*)p_chk, i_fourcc, i_number )
#define AVI_ChunkFree( a, b ) \
_AVI_ChunkFree( (a), (avi_chunk_t*)(b) )
_AVI_ChunkFind( AVI_CHUNK(p_chk), i_fourcc, i_number )
/* *** avi stuff *** */
/* *** avi stuff *** */
#define AVIFOURCC_RIFF VLC_FOURCC('R','I','F','F')
#define AVIFOURCC_ON2 VLC_FOURCC('O','N','2',' ')
...
...
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