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
0378bedc
Commit
0378bedc
authored
Jul 03, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix avcodec cinepak decoding and favour it.
parent
1750723d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+1
-1
modules/codec/cinepak.c
modules/codec/cinepak.c
+1
-1
No files found.
modules/codec/avcodec/video.c
View file @
0378bedc
...
...
@@ -387,7 +387,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
if
(
p_dec
->
fmt_in
.
video
.
p_palette
)
p_sys
->
p_context
->
palctrl
=
(
AVPaletteControl
*
)
p_dec
->
fmt_in
.
video
.
p_palette
;
else
if
(
p_sys
->
i_codec_id
!=
CODEC_ID_MSVIDEO1
)
else
if
(
p_sys
->
i_codec_id
!=
CODEC_ID_MSVIDEO1
&&
p_sys
->
i_codec_id
!=
CODEC_ID_CINEPAK
)
p_sys
->
p_context
->
palctrl
=
&
palette_control
;
/* ***** Open the codec ***** */
...
...
modules/codec/cinepak.c
View file @
0378bedc
...
...
@@ -41,7 +41,7 @@ static void CloseDecoder( vlc_object_t * );
vlc_module_begin
();
set_description
(
N_
(
"Cinepak video decoder"
)
);
set_capability
(
"decoder"
,
10
0
);
set_capability
(
"decoder"
,
5
0
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_VCODEC
);
set_callbacks
(
OpenDecoder
,
CloseDecoder
);
...
...
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