Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
c72861ca
Commit
c72861ca
authored
Jun 23, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVBsub encoder: don't use vlc_fourcc_to_char
parent
87d07ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
modules/codec/dvbsub.c
modules/codec/dvbsub.c
+1
-4
No files found.
modules/codec/dvbsub.c
View file @
c72861ca
...
...
@@ -1966,10 +1966,7 @@ static block_t *Encode( encoder_t *p_enc, subpicture_t *p_subpic )
if
(
(
p_region
->
fmt
.
i_chroma
!=
VLC_CODEC_TEXT
)
&&
(
p_region
->
fmt
.
i_chroma
!=
VLC_CODEC_YUVP
)
)
{
char
psz_fourcc
[
5
];
memset
(
&
psz_fourcc
,
0
,
sizeof
(
psz_fourcc
)
);
vlc_fourcc_to_char
(
p_region
->
fmt
.
i_chroma
,
&
psz_fourcc
);
msg_Err
(
p_enc
,
"chroma %4.4s not supported"
,
psz_fourcc
);
msg_Err
(
p_enc
,
"chroma %4.4s not supported"
,
(
char
*
)
&
p_region
->
fmt
.
i_chroma
);
return
NULL
;
}
...
...
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