Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
94cc398e
Commit
94cc398e
authored
Dec 06, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: fix some minors warnings.
parent
64310cf3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.c
+2
-2
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+6
-6
No files found.
modules/codec/ffmpeg/audio.c
View file @
94cc398e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* audio.c: audio decoder using ffmpeg library
* audio.c: audio decoder using ffmpeg library
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: audio.c,v 1.
6 2002/12/02 21:13:25 jlj
Exp $
* $Id: audio.c,v 1.
7 2002/12/06 14:22:55 fenrir
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -58,7 +58,7 @@ int E_( InitThread_Audio ) ( adec_thread_t * );
...
@@ -58,7 +58,7 @@ int E_( InitThread_Audio ) ( adec_thread_t * );
void
E_
(
EndThread_Audio
)
(
adec_thread_t
*
);
void
E_
(
EndThread_Audio
)
(
adec_thread_t
*
);
void
E_
(
DecodeThread_Audio
)
(
adec_thread_t
*
);
void
E_
(
DecodeThread_Audio
)
(
adec_thread_t
*
);
static
int
pi_channels_maps
[
6
]
=
static
unsigned
int
pi_channels_maps
[
6
]
=
{
{
0
,
0
,
AOUT_CHAN_CENTER
,
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
,
AOUT_CHAN_CENTER
,
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
,
...
...
modules/codec/ffmpeg/video.c
View file @
94cc398e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* video.c: video decoder using ffmpeg library
* video.c: video decoder using ffmpeg library
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: video.c,v 1.
9 2002/12/06 11:53:4
5 fenrir Exp $
* $Id: video.c,v 1.
10 2002/12/06 14:22:5
5 fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
* Gildas Bazin <gbazin@netcourrier.com>
...
@@ -95,9 +95,9 @@ static vout_thread_t *ffmpeg_CreateVout( vdec_thread_t *p_vdec,
...
@@ -95,9 +95,9 @@ static vout_thread_t *ffmpeg_CreateVout( vdec_thread_t *p_vdec,
AVCodecContext
*
p_context
)
AVCodecContext
*
p_context
)
{
{
vout_thread_t
*
p_vout
;
vout_thread_t
*
p_vout
;
int
i_width
=
p_
vdec
->
p_
context
->
width
;
int
i_width
=
p_context
->
width
;
int
i_height
=
p_vdec
->
p_context
->
height
;
int
i_height
=
p_context
->
height
;
uint32_t
i_chroma
=
ffmpeg_PixFmtToChroma
(
p_
vdec
->
p_
context
->
pix_fmt
);
uint32_t
i_chroma
=
ffmpeg_PixFmtToChroma
(
p_context
->
pix_fmt
);
int
i_aspect
;
int
i_aspect
;
if
(
!
i_width
||
!
i_height
)
if
(
!
i_width
||
!
i_height
)
...
@@ -115,12 +115,12 @@ static vout_thread_t *ffmpeg_CreateVout( vdec_thread_t *p_vdec,
...
@@ -115,12 +115,12 @@ static vout_thread_t *ffmpeg_CreateVout( vdec_thread_t *p_vdec,
}
}
#if LIBAVCODEC_BUILD >= 4640
#if LIBAVCODEC_BUILD >= 4640
if
(
(
i_aspect
=
(
int
)
(
VOUT_ASPECT_FACTOR
*
if
(
(
i_aspect
=
(
int
)
(
VOUT_ASPECT_FACTOR
*
p_
vdec
->
p_
context
->
aspect_ratio
)
)
==
0
)
p_context
->
aspect_ratio
)
)
==
0
)
{
{
i_aspect
=
VOUT_ASPECT_FACTOR
*
i_width
/
i_height
;
i_aspect
=
VOUT_ASPECT_FACTOR
*
i_width
/
i_height
;
}
}
#else
#else
switch
(
p_
vdec
->
p_
context
->
aspect_ratio_info
)
switch
(
p_context
->
aspect_ratio_info
)
{
{
case
(
FF_ASPECT_4_3_625
):
case
(
FF_ASPECT_4_3_625
):
case
(
FF_ASPECT_4_3_525
):
case
(
FF_ASPECT_4_3_525
):
...
...
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