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
e33dbc3f
Commit
e33dbc3f
authored
Nov 13, 2003
by
Laurent Aimar
Browse files
* avi: little clean up, and ported to es_format_t.
parent
1c8b01a7
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
modules/demux/avi/avi.c
View file @
e33dbc3f
This diff is collapsed.
Click to expand it.
modules/demux/avi/avi.h
View file @
e33dbc3f
...
...
@@ -2,7 +2,7 @@
* avi.h : AVI file Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: avi.h,v 1.1
6
2003/1
0
/1
9
1
3:39:11 hartman
Exp $
* $Id: avi.h,v 1.1
7
2003/1
1
/1
3
1
1:49:27 fenrir
Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -44,19 +44,18 @@ typedef struct AVIIndexEntry_s
}
AVIIndexEntry_t
;
typedef
struct
avi_stream_s
typedef
struct
{
vlc_bool_t
b_activated
;
unsigned
int
i_cat
;
/* AUDIO_ES, VIDEO_ES */
vlc_fourcc_t
i_fourcc
;
vlc_fourcc_t
i_codec
;
int
i_rate
;
int
i_scale
;
int
i_samplesize
;
es_
descriptor
_t
*
p_es
;
es_
out_id
_t
*
p_es
;
AVIIndexEntry_t
*
p_index
;
unsigned
int
i_idxnb
;
...
...
@@ -65,7 +64,7 @@ typedef struct avi_stream_s
unsigned
int
i_idxposc
;
/* numero of chunk */
unsigned
int
i_idxposb
;
/* byte in the current chunk */
}
avi_
s
tr
eam
_t
;
}
avi_tr
ack
_t
;
struct
demux_sys_t
{
...
...
@@ -77,13 +76,12 @@ struct demux_sys_t
avi_chunk_t
ck_root
;
vlc_bool_t
b_odml
;
vlc_bool_t
b_interleaved
;
/* for seeking purpose */
off_t
i_movi_begin
;
off_t
i_movi_lastchunk_pos
;
/* XXX position of last valid chunk */
/* number of streams and information */
unsigned
int
i_
s
tr
eams
;
avi_
s
tr
eam
_t
**
pp_info
;
unsigned
int
i_tr
ack
;
avi_tr
ack
_t
**
track
;
};
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