Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
7358af1b
Commit
7358af1b
authored
Nov 05, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/avi/*: should theoretically fix the endianness issues with the avi demuxer.
parent
281b9bb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
61 deletions
+57
-61
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+6
-6
modules/demux/avi/libavi.h
modules/demux/avi/libavi.h
+51
-55
No files found.
modules/demux/avi/libavi.c
View file @
7358af1b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* libavi.c :
* libavi.c :
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: libavi.c,v 1.
4 2002/11/05 10:07:5
6 gbazin Exp $
* $Id: libavi.c,v 1.
5 2002/11/05 23:48:4
6 gbazin Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -32,10 +32,10 @@
...
@@ -32,10 +32,10 @@
#define AVI_DEBUG 1
#define AVI_DEBUG 1
#define AVIFOURCC_PRINT( x ) \
#define AVIFOURCC_PRINT( x ) \
(
x)&0xff
, \
(
(u8 *)&x)[0]
, \
(
(x) >> 8 )&0xff,
\
(
(u8 *)&x)[1],
\
(
(x) >> 16 )&0xff,
\
(
(u8 *)&x)[2],
\
(
(x) >> 24 )&0xff
(
(u8 *)&x)[3]
#define FREE( p ) \
#define FREE( p ) \
if( p ) {free( p ); p = NULL; }
if( p ) {free( p ); p = NULL; }
...
@@ -868,7 +868,7 @@ int AVI_ChunkReadRoot( input_thread_t *p_input,
...
@@ -868,7 +868,7 @@ int AVI_ChunkReadRoot( input_thread_t *p_input,
p_list
->
p_first
=
NULL
;
p_list
->
p_first
=
NULL
;
p_list
->
p_last
=
NULL
;
p_list
->
p_last
=
NULL
;
p_list
->
i_type
=
MK
FOURCC
(
'r'
,
'o'
,
'o'
,
't'
);
p_list
->
i_type
=
VLC_
FOURCC
(
'r'
,
'o'
,
'o'
,
't'
);
for
(
;
;
)
for
(
;
;
)
{
{
...
...
modules/demux/avi/libavi.h
View file @
7358af1b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* libavi.h : LibAVI library
* libavi.h : LibAVI library
******************************************************************************
******************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: libavi.h,v 1.
2 2002/11/05 10:07:5
6 gbazin Exp $
* $Id: libavi.h,v 1.
3 2002/11/05 23:48:4
6 gbazin Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -39,65 +39,61 @@
...
@@ -39,65 +39,61 @@
#define AVIIF_FIXKEYFRAME 0x00001000L
/* invented; used to say that
#define AVIIF_FIXKEYFRAME 0x00001000L
/* invented; used to say that
the keyframe flag isn't a true flag
the keyframe flag isn't a true flag
but have to be verified */
but have to be verified */
#define MKFOURCC( a, b, c, d ) \
( ((u32)a) | ( ((u32)b) << 8 ) | ( ((u32)c) << 16 ) | ( ((u32)d) << 24 ) )
#define MKTWOCC( a, b ) \
( (u16)(a) | ( (u16)(b) << 8 ) )
/* *** avi stuff *** */
/* *** avi stuff *** */
#define AVIFOURCC_RIFF
MK
FOURCC('R','I','F','F')
#define AVIFOURCC_RIFF
VLC_
FOURCC('R','I','F','F')
#define AVIFOURCC_LIST
MK
FOURCC('L','I','S','T')
#define AVIFOURCC_LIST
VLC_
FOURCC('L','I','S','T')
#define AVIFOURCC_JUNK
MK
FOURCC('J','U','N','K')
#define AVIFOURCC_JUNK
VLC_
FOURCC('J','U','N','K')
#define AVIFOURCC_AVI
MK
FOURCC('A','V','I',' ')
#define AVIFOURCC_AVI
VLC_
FOURCC('A','V','I',' ')
#define AVIFOURCC_WAVE
MK
FOURCC('W','A','V','E')
#define AVIFOURCC_WAVE
VLC_
FOURCC('W','A','V','E')
#define AVIFOURCC_INFO
MK
FOURCC('I','N','F','O')
#define AVIFOURCC_INFO
VLC_
FOURCC('I','N','F','O')
#define AVIFOURCC_avih
MK
FOURCC('a','v','i','h')
#define AVIFOURCC_avih
VLC_
FOURCC('a','v','i','h')
#define AVIFOURCC_hdrl
MK
FOURCC('h','d','r','l')
#define AVIFOURCC_hdrl
VLC_
FOURCC('h','d','r','l')
#define AVIFOURCC_movi
MK
FOURCC('m','o','v','i')
#define AVIFOURCC_movi
VLC_
FOURCC('m','o','v','i')
#define AVIFOURCC_idx1
MK
FOURCC('i','d','x','1')
#define AVIFOURCC_idx1
VLC_
FOURCC('i','d','x','1')
#define AVIFOURCC_strl
MK
FOURCC('s','t','r','l')
#define AVIFOURCC_strl
VLC_
FOURCC('s','t','r','l')
#define AVIFOURCC_strh
MK
FOURCC('s','t','r','h')
#define AVIFOURCC_strh
VLC_
FOURCC('s','t','r','h')
#define AVIFOURCC_strf
MK
FOURCC('s','t','r','f')
#define AVIFOURCC_strf
VLC_
FOURCC('s','t','r','f')
#define AVIFOURCC_strd
MK
FOURCC('s','t','r','d')
#define AVIFOURCC_strd
VLC_
FOURCC('s','t','r','d')
#define AVIFOURCC_rec
MK
FOURCC('r','e','c',' ')
#define AVIFOURCC_rec
VLC_
FOURCC('r','e','c',' ')
#define AVIFOURCC_auds
MK
FOURCC('a','u','d','s')
#define AVIFOURCC_auds
VLC_
FOURCC('a','u','d','s')
#define AVIFOURCC_vids
MK
FOURCC('v','i','d','s')
#define AVIFOURCC_vids
VLC_
FOURCC('v','i','d','s')
#define AVIFOURCC_IARL
MK
FOURCC('I','A','R','L')
#define AVIFOURCC_IARL
VLC_
FOURCC('I','A','R','L')
#define AVIFOURCC_IART
MK
FOURCC('I','A','R','T')
#define AVIFOURCC_IART
VLC_
FOURCC('I','A','R','T')
#define AVIFOURCC_ICMS
MK
FOURCC('I','C','M','S')
#define AVIFOURCC_ICMS
VLC_
FOURCC('I','C','M','S')
#define AVIFOURCC_ICMT
MK
FOURCC('I','C','M','T')
#define AVIFOURCC_ICMT
VLC_
FOURCC('I','C','M','T')
#define AVIFOURCC_ICOP
MK
FOURCC('I','C','O','P')
#define AVIFOURCC_ICOP
VLC_
FOURCC('I','C','O','P')
#define AVIFOURCC_ICRD
MK
FOURCC('I','C','R','D')
#define AVIFOURCC_ICRD
VLC_
FOURCC('I','C','R','D')
#define AVIFOURCC_ICRP
MK
FOURCC('I','C','R','P')
#define AVIFOURCC_ICRP
VLC_
FOURCC('I','C','R','P')
#define AVIFOURCC_IDIM
MK
FOURCC('I','D','I','M')
#define AVIFOURCC_IDIM
VLC_
FOURCC('I','D','I','M')
#define AVIFOURCC_IDPI
MK
FOURCC('I','D','P','I')
#define AVIFOURCC_IDPI
VLC_
FOURCC('I','D','P','I')
#define AVIFOURCC_IENG
MK
FOURCC('I','E','N','G')
#define AVIFOURCC_IENG
VLC_
FOURCC('I','E','N','G')
#define AVIFOURCC_IGNR
MK
FOURCC('I','G','N','R')
#define AVIFOURCC_IGNR
VLC_
FOURCC('I','G','N','R')
#define AVIFOURCC_IKEY
MK
FOURCC('I','K','E','Y')
#define AVIFOURCC_IKEY
VLC_
FOURCC('I','K','E','Y')
#define AVIFOURCC_ILGT
MK
FOURCC('I','L','G','T')
#define AVIFOURCC_ILGT
VLC_
FOURCC('I','L','G','T')
#define AVIFOURCC_IMED
MK
FOURCC('I','M','E','D')
#define AVIFOURCC_IMED
VLC_
FOURCC('I','M','E','D')
#define AVIFOURCC_INAM
MK
FOURCC('I','N','A','M')
#define AVIFOURCC_INAM
VLC_
FOURCC('I','N','A','M')
#define AVIFOURCC_IPLT
MK
FOURCC('I','P','L','T')
#define AVIFOURCC_IPLT
VLC_
FOURCC('I','P','L','T')
#define AVIFOURCC_IPRD
MK
FOURCC('I','P','R','D')
#define AVIFOURCC_IPRD
VLC_
FOURCC('I','P','R','D')
#define AVIFOURCC_ISBJ
MK
FOURCC('I','S','B','J')
#define AVIFOURCC_ISBJ
VLC_
FOURCC('I','S','B','J')
#define AVIFOURCC_ISFT
MK
FOURCC('I','S','F','T')
#define AVIFOURCC_ISFT
VLC_
FOURCC('I','S','F','T')
#define AVIFOURCC_ISHP
MK
FOURCC('I','S','H','P')
#define AVIFOURCC_ISHP
VLC_
FOURCC('I','S','H','P')
#define AVIFOURCC_ISRC
MK
FOURCC('I','S','R','C')
#define AVIFOURCC_ISRC
VLC_
FOURCC('I','S','R','C')
#define AVIFOURCC_ISRF
MK
FOURCC('I','S','R','F')
#define AVIFOURCC_ISRF
VLC_
FOURCC('I','S','R','F')
#define AVIFOURCC_ITCH
MK
FOURCC('I','T','C','H')
#define AVIFOURCC_ITCH
VLC_
FOURCC('I','T','C','H')
#define AVIFOURCC_ISMP
MK
FOURCC('I','S','M','P')
#define AVIFOURCC_ISMP
VLC_
FOURCC('I','S','M','P')
#define AVIFOURCC_IDIT
MK
FOURCC('I','D','I','T')
#define AVIFOURCC_IDIT
VLC_
FOURCC('I','D','I','T')
#define AVITWOCC_wb
MK
TWOCC('w','b')
#define AVITWOCC_wb
VLC_
TWOCC('w','b')
#define AVITWOCC_db
MK
TWOCC('d','b')
#define AVITWOCC_db
VLC_
TWOCC('d','b')
#define AVITWOCC_dc
MK
TWOCC('d','c')
#define AVITWOCC_dc
VLC_
TWOCC('d','c')
#define AVITWOCC_pc
MK
TWOCC('p','c')
#define AVITWOCC_pc
VLC_
TWOCC('p','c')
/* *** codex stuff *** */
/* *** codex stuff *** */
/* MPEG4 video */
/* MPEG4 video */
...
...
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