summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-29 19:24:18 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-29 19:24:18 +0000
commitf5bb625b3f4d6375027a2e9446feccb887487820 (patch)
treebda437e816a0aed10c150d2756f6d66764f6293a /src
parentb4f1f6e878c5a11bdc3c11425399a251d2ab66ce (diff)
downloadxine-lib-f5bb625b3f4d6375027a2e9446feccb887487820.tar.gz
xine-lib-f5bb625b3f4d6375027a2e9446feccb887487820.tar.bz2
Reorder fields and make use of a bitmask for boolean flags.
CVS patchset: 8772 CVS date: 2007/03/29 19:24:18
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_avi.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index 71f5ac888..fe324c2f4 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_avi.c,v 1.231 2007/03/29 19:07:00 dgp85 Exp $
+ * $Id: demux_avi.c,v 1.232 2007/03/29 19:24:18 dgp85 Exp $
*
* demultiplexer for avi streams
*
@@ -251,28 +251,27 @@ typedef struct demux_avi_s {
input_plugin_t *input;
int status;
- int no_audio;
-
uint32_t video_step;
uint32_t AVI_errno;
+ /* seeking args backup */
+ int seek_start_time;
+ off_t seek_start_pos;
+
avi_t *avi;
idx_grow_t idx_grow;
- int streaming;
- int last_index_entry_type;
- int has_index;
-
- /* seeking args backup */
- int seek_request;
- off_t seek_start_pos;
- int seek_start_time;
+ uint8_t no_audio:1;
+
+ uint8_t streaming:1;
+ uint8_t has_index:1;
+
+ uint8_t seek_request:1;
/* discontinuity detection (only at seek) */
- int send_newpts;
- int buf_flag_seek;
-
+ uint8_t buf_flag_seek:1;
+ uint8_t send_newpts:1;
} demux_avi_t ;
typedef struct {