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
9de7b241
Commit
9de7b241
authored
Sep 15, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_filter/swscale/filter.c: uninitialised variable fix.
parent
28ed0fc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
modules/video_filter/swscale/filter.c
modules/video_filter/swscale/filter.c
+15
-12
No files found.
modules/video_filter/swscale/filter.c
View file @
9de7b241
...
@@ -144,18 +144,18 @@ static int OpenFilter( vlc_object_t *p_this )
...
@@ -144,18 +144,18 @@ static int OpenFilter( vlc_object_t *p_this )
switch
(
i_sws_mode
)
switch
(
i_sws_mode
)
{
{
case
0
:
p_sys
->
i_sws_flags
|
=
SWS_FAST_BILINEAR
;
break
;
case
0
:
p_sys
->
i_sws_flags
=
SWS_FAST_BILINEAR
;
break
;
case
1
:
p_sys
->
i_sws_flags
|
=
SWS_BILINEAR
;
break
;
case
1
:
p_sys
->
i_sws_flags
=
SWS_BILINEAR
;
break
;
case
2
:
p_sys
->
i_sws_flags
|
=
SWS_BICUBIC
;
break
;
case
2
:
p_sys
->
i_sws_flags
=
SWS_BICUBIC
;
break
;
case
3
:
p_sys
->
i_sws_flags
|
=
SWS_X
;
break
;
case
3
:
p_sys
->
i_sws_flags
=
SWS_X
;
break
;
case
4
:
p_sys
->
i_sws_flags
|
=
SWS_POINT
;
break
;
case
4
:
p_sys
->
i_sws_flags
=
SWS_POINT
;
break
;
case
5
:
p_sys
->
i_sws_flags
|
=
SWS_AREA
;
break
;
case
5
:
p_sys
->
i_sws_flags
=
SWS_AREA
;
break
;
case
6
:
p_sys
->
i_sws_flags
|
=
SWS_BICUBLIN
;
break
;
case
6
:
p_sys
->
i_sws_flags
=
SWS_BICUBLIN
;
break
;
case
7
:
p_sys
->
i_sws_flags
|
=
SWS_GAUSS
;
break
;
case
7
:
p_sys
->
i_sws_flags
=
SWS_GAUSS
;
break
;
case
8
:
p_sys
->
i_sws_flags
|
=
SWS_SINC
;
break
;
case
8
:
p_sys
->
i_sws_flags
=
SWS_SINC
;
break
;
case
9
:
p_sys
->
i_sws_flags
|
=
SWS_LANCZOS
;
break
;
case
9
:
p_sys
->
i_sws_flags
=
SWS_LANCZOS
;
break
;
case
10
:
p_sys
->
i_sws_flags
|
=
SWS_SPLINE
;
break
;
case
10
:
p_sys
->
i_sws_flags
=
SWS_SPLINE
;
break
;
default:
p_sys
->
i_sws_flags
|
=
SWS_FAST_BILINEAR
;
i_sws_mode
=
0
;
break
;
default:
p_sys
->
i_sws_flags
=
SWS_FAST_BILINEAR
;
i_sws_mode
=
0
;
break
;
}
}
p_sys
->
p_src_filter
=
0
;
p_sys
->
p_dst_filter
=
0
;
p_sys
->
p_src_filter
=
0
;
p_sys
->
p_dst_filter
=
0
;
...
@@ -315,6 +315,9 @@ static struct
...
@@ -315,6 +315,9 @@ static struct
{
VLC_FOURCC
(
'I'
,
'4'
,
'4'
,
'4'
),
IMGFMT_444P
},
{
VLC_FOURCC
(
'I'
,
'4'
,
'4'
,
'4'
),
IMGFMT_444P
},
{
VLC_FOURCC
(
'I'
,
'4'
,
'2'
,
'2'
),
IMGFMT_422P
},
{
VLC_FOURCC
(
'I'
,
'4'
,
'2'
,
'2'
),
IMGFMT_422P
},
{
VLC_FOURCC
(
'I'
,
'4'
,
'1'
,
'1'
),
IMGFMT_411P
},
{
VLC_FOURCC
(
'I'
,
'4'
,
'1'
,
'1'
),
IMGFMT_411P
},
#if 0
{ VLC_FOURCC('Y','U','V','P'), IMGFMT_Y800 },
#endif
/* Packed YUV formats */
/* Packed YUV formats */
{
VLC_FOURCC
(
'U'
,
'Y'
,
'V'
,
'Y'
),
IMGFMT_UYVY
},
{
VLC_FOURCC
(
'U'
,
'Y'
,
'V'
,
'Y'
),
IMGFMT_UYVY
},
...
...
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