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
b0ef1133
Commit
b0ef1133
authored
Sep 24, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed many alignment issues.
parent
8ed3168e
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
323 additions
and
287 deletions
+323
-287
configure
configure
+240
-242
configure.in
configure.in
+2
-4
include/input_ext-dec.h
include/input_ext-dec.h
+13
-2
src/input/input.c
src/input/input.c
+2
-2
src/input/input_ext-dec.c
src/input/input_ext-dec.c
+4
-1
src/input/mpeg_system.c
src/input/mpeg_system.c
+62
-36
No files found.
configure
View file @
b0ef1133
This diff is collapsed.
Click to expand it.
configure.in
View file @
b0ef1133
...
@@ -33,10 +33,8 @@ AC_PROG_RANLIB
...
@@ -33,10 +33,8 @@ AC_PROG_RANLIB
dnl AM_PROG_LIBTOOL
dnl AM_PROG_LIBTOOL
AC_PROG_INSTALL
AC_PROG_INSTALL
dnl Check for endianness if not cross-compiling
dnl Check for endianness
if test x${cross_compiling} != xyes; then
AC_C_BIGENDIAN
AC_C_BIGENDIAN
fi
dnl Check for system libs needed
dnl Check for system libs needed
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol)
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol)
...
...
include/input_ext-dec.h
View file @
b0ef1133
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_ext-dec.h: structures exported to the VideoLAN decoders
* input_ext-dec.h: structures exported to the VideoLAN decoders
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_ext-dec.h,v 1.3
4 2001/08/22 17:21:45
massiot Exp $
* $Id: input_ext-dec.h,v 1.3
5 2001/09/24 11:17:49
massiot Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Kaempf <maxx@via.ecp.fr>
* Michel Kaempf <maxx@via.ecp.fr>
...
@@ -255,7 +255,18 @@ static __inline__ u32 ShowBits( bit_stream_t * p_bit_stream,
...
@@ -255,7 +255,18 @@ static __inline__ u32 ShowBits( bit_stream_t * p_bit_stream,
}
}
UnalignedShowBits
(
p_bit_stream
,
i_bits
);
UnalignedShowBits
(
p_bit_stream
,
i_bits
);
return
(
p_bit_stream
->
fifo
.
buffer
>>
(
8
*
sizeof
(
WORD_TYPE
)
-
i_bits
)
);
/* Now that we have filled in the buffers, do it again. Can't call
* ShowBits() instead, because the function is inline... */
if
(
p_bit_stream
->
fifo
.
i_available
>=
i_bits
)
{
return
(
p_bit_stream
->
fifo
.
buffer
>>
(
8
*
sizeof
(
WORD_TYPE
)
-
i_bits
)
);
}
return
(
(
p_bit_stream
->
fifo
.
buffer
|
(
WORD_AT
(
p_bit_stream
->
p_byte
)
>>
p_bit_stream
->
fifo
.
i_available
))
>>
(
8
*
sizeof
(
WORD_TYPE
)
-
i_bits
)
);
}
}
/*****************************************************************************
/*****************************************************************************
...
...
src/input/input.c
View file @
b0ef1133
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* decoders.
* decoders.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input.c,v 1.13
0 2001/08/27 16:13:20
massiot Exp $
* $Id: input.c,v 1.13
1 2001/09/24 11:17:49
massiot Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -808,7 +808,7 @@ static void NetworkOpen( input_thread_t * p_input )
...
@@ -808,7 +808,7 @@ static void NetworkOpen( input_thread_t * p_input )
if
(
i_opt
<
0x80000
)
if
(
i_opt
<
0x80000
)
{
{
intf_
ErrMsg
(
"input warning: socket receive buffer size just %d instead of %d bytes.
\n
"
,
intf_
WarnMsg
(
1
,
"input warning: socket receive buffer size just %d instead of %d bytes.
"
,
i_opt
,
0x80000
);
i_opt
,
0x80000
);
}
}
...
...
src/input/input_ext-dec.c
View file @
b0ef1133
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_ext-dec.c: services to the decoders
* input_ext-dec.c: services to the decoders
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input_ext-dec.c,v 1.1
8 2001/08/22 17:21:45
massiot Exp $
* $Id: input_ext-dec.c,v 1.1
9 2001/09/24 11:17:49
massiot Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -216,6 +216,9 @@ void UnalignedShowBits( bit_stream_t * p_bit_stream, unsigned int i_bits )
...
@@ -216,6 +216,9 @@ void UnalignedShowBits( bit_stream_t * p_bit_stream, unsigned int i_bits )
AlignWord
(
p_bit_stream
);
AlignWord
(
p_bit_stream
);
}
}
}
}
/* We have 32 bits ready for reading, it will be enough. */
break
;
}
}
}
}
}
}
...
...
src/input/mpeg_system.c
View file @
b0ef1133
This diff is collapsed.
Click to expand it.
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