Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
0ade81b0
Commit
0ade81b0
authored
Mar 18, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All: string review (refs: #438)
parent
e970f05f
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
76 additions
and
74 deletions
+76
-74
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+2
-2
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+10
-10
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+1
-1
modules/demux/flac.c
modules/demux/flac.c
+1
-1
modules/demux/m3u.c
modules/demux/m3u.c
+1
-1
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+6
-6
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+1
-1
modules/demux/nsc.c
modules/demux/nsc.c
+2
-2
modules/demux/playlist/b4s.c
modules/demux/playlist/b4s.c
+1
-1
modules/demux/playlist/pls.c
modules/demux/playlist/pls.c
+1
-1
modules/demux/playlist/podcast.c
modules/demux/playlist/podcast.c
+1
-1
modules/demux/rawdv.c
modules/demux/rawdv.c
+2
-2
modules/demux/sgimb.c
modules/demux/sgimb.c
+7
-7
modules/demux/subtitle.c
modules/demux/subtitle.c
+2
-2
modules/demux/ts.c
modules/demux/ts.c
+17
-14
modules/demux/ty.c
modules/demux/ty.c
+3
-3
modules/demux/vobsub.c
modules/demux/vobsub.c
+10
-10
modules/demux/voc.c
modules/demux/voc.c
+7
-8
modules/demux/wav.c
modules/demux/wav.c
+1
-1
No files found.
modules/demux/asf/asf.c
View file @
0ade81b0
...
@@ -156,7 +156,7 @@ static int Demux( demux_t *p_demux )
...
@@ -156,7 +156,7 @@ static int Demux( demux_t *p_demux )
ASF_GetGUID
(
&
guid
,
p_peek
);
ASF_GetGUID
(
&
guid
,
p_peek
);
if
(
ASF_CmpGUID
(
&
guid
,
&
asf_object_header_guid
)
)
if
(
ASF_CmpGUID
(
&
guid
,
&
asf_object_header_guid
)
)
{
{
msg_Warn
(
p_demux
,
"
F
ound a new ASF header"
);
msg_Warn
(
p_demux
,
"
f
ound a new ASF header"
);
/* We end this stream */
/* We end this stream */
DemuxEnd
(
p_demux
);
DemuxEnd
(
p_demux
);
...
@@ -366,7 +366,7 @@ static int DemuxPacket( demux_t *p_demux )
...
@@ -366,7 +366,7 @@ static int DemuxPacket( demux_t *p_demux )
i_packet_send_time
=
GetDWLE
(
p_peek
+
i_skip
);
i_skip
+=
4
;
i_packet_send_time
=
GetDWLE
(
p_peek
+
i_skip
);
i_skip
+=
4
;
i_packet_duration
=
GetWLE
(
p_peek
+
i_skip
);
i_skip
+=
2
;
i_packet_duration
=
GetWLE
(
p_peek
+
i_skip
);
i_skip
+=
2
;
// i_packet_size_left = i_packet_length; // XXX d
onn�s reellement lu
// i_packet_size_left = i_packet_length; // XXX d
ata really read
/* FIXME I have to do that for some file, I don't known why */
/* FIXME I have to do that for some file, I don't known why */
i_packet_size_left
=
i_data_packet_min
;
i_packet_size_left
=
i_data_packet_min
;
...
...
modules/demux/asf/libasf.c
View file @
0ade81b0
...
@@ -717,7 +717,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
...
@@ -717,7 +717,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
msg_Dbg
(
s
,
"
R
ead
\"
content description object
\"
title:
\"
%s
\"
author:
\"
%s
\"
copyright:
\"
%s
\"
description:
\"
%s
\"
rating:
\"
%s
\"
"
,
"
r
ead
\"
content description object
\"
title:
\"
%s
\"
author:
\"
%s
\"
copyright:
\"
%s
\"
description:
\"
%s
\"
rating:
\"
%s
\"
"
,
p_cd
->
psz_title
,
p_cd
->
psz_title
,
p_cd
->
psz_author
,
p_cd
->
psz_author
,
p_cd
->
psz_copyright
,
p_cd
->
psz_copyright
,
...
@@ -779,7 +779,7 @@ static int ASF_ReadObject_language_list(stream_t *s, asf_object_t *p_obj)
...
@@ -779,7 +779,7 @@ static int ASF_ReadObject_language_list(stream_t *s, asf_object_t *p_obj)
}
}
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
"
R
ead
\"
language list object
\"
%d entries"
,
msg_Dbg
(
s
,
"
r
ead
\"
language list object
\"
%d entries"
,
p_ll
->
i_language
);
p_ll
->
i_language
);
for
(
i
=
0
;
i
<
p_ll
->
i_language
;
i
++
)
for
(
i
=
0
;
i
<
p_ll
->
i_language
;
i
++
)
msg_Dbg
(
s
,
" - '%s'"
,
msg_Dbg
(
s
,
" - '%s'"
,
...
@@ -825,7 +825,7 @@ static int ASF_ReadObject_stream_bitrate_properties( stream_t *s,
...
@@ -825,7 +825,7 @@ static int ASF_ReadObject_stream_bitrate_properties( stream_t *s,
}
}
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
"
R
ead
\"
stream bitrate properties object
\"
"
);
msg_Dbg
(
s
,
"
r
ead
\"
stream bitrate properties object
\"
"
);
for
(
i
=
0
;
i
<
p_sb
->
i_bitrate
;
i
++
)
for
(
i
=
0
;
i
<
p_sb
->
i_bitrate
;
i
++
)
{
{
msg_Dbg
(
s
,
" - stream=%d bitrate=%d"
,
msg_Dbg
(
s
,
" - stream=%d bitrate=%d"
,
...
@@ -924,7 +924,7 @@ static int ASF_ReadObject_extended_stream_properties( stream_t *s,
...
@@ -924,7 +924,7 @@ static int ASF_ReadObject_extended_stream_properties( stream_t *s,
}
}
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
"
R
ead
\"
extended stream properties object
\"
:"
);
msg_Dbg
(
s
,
"
r
ead
\"
extended stream properties object
\"
:"
);
msg_Dbg
(
s
,
" - start="
I64Fd
" end="
I64Fd
,
msg_Dbg
(
s
,
" - start="
I64Fd
" end="
I64Fd
,
p_esp
->
i_start_time
,
p_esp
->
i_end_time
);
p_esp
->
i_start_time
,
p_esp
->
i_end_time
);
msg_Dbg
(
s
,
" - data bitrate=%d buffer=%d initial fullness=%d"
,
msg_Dbg
(
s
,
" - data bitrate=%d buffer=%d initial fullness=%d"
,
...
@@ -991,7 +991,7 @@ static int ASF_ReadObject_advanced_mutual_exclusion( stream_t *s,
...
@@ -991,7 +991,7 @@ static int ASF_ReadObject_advanced_mutual_exclusion( stream_t *s,
}
}
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
"
R
ead
\"
advanced mutual exclusion object
\"
"
);
msg_Dbg
(
s
,
"
r
ead
\"
advanced mutual exclusion object
\"
"
);
for
(
i
=
0
;
i
<
p_ae
->
i_stream_number_count
;
i
++
)
for
(
i
=
0
;
i
<
p_ae
->
i_stream_number_count
;
i
++
)
msg_Dbg
(
s
,
" - stream=%d"
,
p_ae
->
pi_stream_number
[
i
]
);
msg_Dbg
(
s
,
" - stream=%d"
,
p_ae
->
pi_stream_number
[
i
]
);
#endif
#endif
...
@@ -1033,7 +1033,7 @@ static int ASF_ReadObject_stream_prioritization( stream_t *s,
...
@@ -1033,7 +1033,7 @@ static int ASF_ReadObject_stream_prioritization( stream_t *s,
p_sp
->
pi_priority_flag
[
i
]
=
GetWLE
(
p_data
);
p_data
+=
2
;
p_sp
->
pi_priority_flag
[
i
]
=
GetWLE
(
p_data
);
p_data
+=
2
;
}
}
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
"
R
ead
\"
stream prioritization object
\"
"
);
msg_Dbg
(
s
,
"
r
ead
\"
stream prioritization object
\"
"
);
for
(
i
=
0
;
i
<
p_sp
->
i_priority_count
;
i
++
)
for
(
i
=
0
;
i
<
p_sp
->
i_priority_count
;
i
++
)
msg_Dbg
(
s
,
" - Stream:%d flags=0x%x"
,
msg_Dbg
(
s
,
" - Stream:%d flags=0x%x"
,
p_sp
->
pi_priority_stream_number
[
i
],
p_sp
->
pi_priority_stream_number
[
i
],
...
@@ -1137,7 +1137,7 @@ static int ASF_ReadObject_extended_content_description( stream_t *s,
...
@@ -1137,7 +1137,7 @@ static int ASF_ReadObject_extended_content_description( stream_t *s,
}
}
#ifdef ASF_DEBUG
#ifdef ASF_DEBUG
msg_Dbg
(
s
,
"
R
ead
\"
extended content description object
\"
"
);
msg_Dbg
(
s
,
"
r
ead
\"
extended content description object
\"
"
);
for
(
i
=
0
;
i
<
p_ec
->
i_count
;
i
++
)
for
(
i
=
0
;
i
<
p_ec
->
i_count
;
i
++
)
msg_Dbg
(
s
,
" - '%s' = '%s'"
,
msg_Dbg
(
s
,
" - '%s' = '%s'"
,
p_ec
->
ppsz_name
[
i
],
p_ec
->
ppsz_name
[
i
],
...
...
modules/demux/avi/avi.c
View file @
0ade81b0
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
*****************************************************************************/
*****************************************************************************/
#define INTERLEAVE_TEXT N_("Force interleaved method" )
#define INTERLEAVE_TEXT N_("Force interleaved method" )
#define INTERLEAVE_LONGTEXT N_( "Force interleaved method" )
#define INTERLEAVE_LONGTEXT N_( "Force interleaved method
.
" )
#define INDEX_TEXT N_("Force index creation")
#define INDEX_TEXT N_("Force index creation")
#define INDEX_LONGTEXT N_( \
#define INDEX_LONGTEXT N_( \
...
...
modules/demux/flac.c
View file @
0ade81b0
modules/demux/m3u.c
View file @
0ade81b0
...
@@ -191,7 +191,7 @@ static int Activate( vlc_object_t * p_this )
...
@@ -191,7 +191,7 @@ static int Activate( vlc_object_t * p_this )
/* Allocate p_m3u */
/* Allocate p_m3u */
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
->
i_type
=
i_type
;
p_demux
->
p_sys
->
i_type
=
i_type
;
msg_Dbg
(
p_this
,
"
P
laylist type: %d - %d"
,
i_type
,
i_type2
);
msg_Dbg
(
p_this
,
"
p
laylist type: %d - %d"
,
i_type
,
i_type2
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
modules/demux/mjpeg.c
View file @
0ade81b0
...
@@ -43,7 +43,7 @@ static void Close( vlc_object_t * );
...
@@ -43,7 +43,7 @@ static void Close( vlc_object_t * );
#define FPS_TEXT N_("Frames per Second")
#define FPS_TEXT N_("Frames per Second")
#define FPS_LONGTEXT N_("This is the desired frame rate when " \
#define FPS_LONGTEXT N_("This is the desired frame rate when " \
"playing MJPEG from a file. Use 0 (this is the default value) for a " \
"playing MJPEG from a file. Use 0 (this is the default value) for a " \
"live stream (from
the
camera).")
"live stream (from
a
camera).")
vlc_module_begin
();
vlc_module_begin
();
set_shortname
(
"MJPEG"
);
set_shortname
(
"MJPEG"
);
...
@@ -236,7 +236,7 @@ static vlc_bool_t CheckMimeHeader( demux_t *p_demux, int *p_header_size )
...
@@ -236,7 +236,7 @@ static vlc_bool_t CheckMimeHeader( demux_t *p_demux, int *p_header_size )
}
}
else
else
{
{
msg_Dbg
(
p_demux
,
"
D
iscard MIME header: %s"
,
psz_line
);
msg_Dbg
(
p_demux
,
"
d
iscard MIME header: %s"
,
psz_line
);
}
}
free
(
psz_line
);
free
(
psz_line
);
psz_line
=
GetLine
(
p_demux
,
&
i_pos
);
psz_line
=
GetLine
(
p_demux
,
&
i_pos
);
...
@@ -408,11 +408,11 @@ static int MjpgDemux( demux_t *p_demux )
...
@@ -408,11 +408,11 @@ static int MjpgDemux( demux_t *p_demux )
i
++
;
i
++
;
if
(
i
>=
p_sys
->
i_data_peeked
)
if
(
i
>=
p_sys
->
i_data_peeked
)
{
{
msg_Dbg
(
p_demux
,
"
D
id not find JPEG EOI in %d bytes"
,
msg_Dbg
(
p_demux
,
"
d
id not find JPEG EOI in %d bytes"
,
p_sys
->
i_data_peeked
);
p_sys
->
i_data_peeked
);
if
(
!
Peek
(
p_demux
,
VLC_FALSE
)
)
if
(
!
Peek
(
p_demux
,
VLC_FALSE
)
)
{
{
msg_Warn
(
p_demux
,
"
N
o more data is available at the moment"
);
msg_Warn
(
p_demux
,
"
n
o more data is available at the moment"
);
return
0
;
return
0
;
}
}
}
}
...
@@ -471,7 +471,7 @@ static int MimeDemux( demux_t *p_demux )
...
@@ -471,7 +471,7 @@ static int MimeDemux( demux_t *p_demux )
if
(
!
Peek
(
p_demux
,
VLC_FALSE
)
)
if
(
!
Peek
(
p_demux
,
VLC_FALSE
)
)
{
{
msg_Warn
(
p_demux
,
"
N
o more data is available at the "
msg_Warn
(
p_demux
,
"
n
o more data is available at the "
"moment"
);
"moment"
);
return
0
;
return
0
;
}
}
...
@@ -491,7 +491,7 @@ static int MimeDemux( demux_t *p_demux )
...
@@ -491,7 +491,7 @@ static int MimeDemux( demux_t *p_demux )
if
(
!
b_match
)
if
(
!
b_match
)
{
{
msg_Err
(
p_demux
,
"
D
iscard non-JPEG part"
);
msg_Err
(
p_demux
,
"
d
iscard non-JPEG part"
);
stream_Read
(
p_demux
->
s
,
NULL
,
i
);
stream_Read
(
p_demux
->
s
,
NULL
,
i
);
return
0
;
return
0
;
}
}
...
...
modules/demux/mp4/mp4.c
View file @
0ade81b0
...
@@ -888,7 +888,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -888,7 +888,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
default:
default:
msg_Warn
(
p_demux
,
"control query unimplemented
!!
!"
);
msg_Warn
(
p_demux
,
"control query unimplemented!"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
}
}
...
...
modules/demux/nsc.c
View file @
0ade81b0
...
@@ -211,7 +211,7 @@ char *nscdec( vlc_object_t *p_demux, char* p_encoded )
...
@@ -211,7 +211,7 @@ char *nscdec( vlc_object_t *p_demux, char* p_encoded )
buf16
=
(
unsigned
char
*
)
malloc
(
buf16_size
);
buf16
=
(
unsigned
char
*
)
malloc
(
buf16_size
);
if
(
buf16
==
NULL
)
if
(
buf16
==
NULL
)
{
{
msg_Err
(
p_demux
,
"
O
ut of memory"
);
msg_Err
(
p_demux
,
"
o
ut of memory"
);
return
NULL
;
return
NULL
;
}
}
...
@@ -229,7 +229,7 @@ char *nscdec( vlc_object_t *p_demux, char* p_encoded )
...
@@ -229,7 +229,7 @@ char *nscdec( vlc_object_t *p_demux, char* p_encoded )
buf8
=
(
char
*
)
malloc
(
buf8_size
+
1
);
buf8
=
(
char
*
)
malloc
(
buf8_size
+
1
);
if
(
buf8
==
NULL
)
if
(
buf8
==
NULL
)
{
{
msg_Err
(
p_demux
,
"
O
ut of memory"
);
msg_Err
(
p_demux
,
"
o
ut of memory"
);
free
(
(
void
*
)
buf16
);
free
(
(
void
*
)
buf16
);
return
NULL
;
return
NULL
;
}
}
...
...
modules/demux/playlist/b4s.c
View file @
0ade81b0
...
@@ -84,7 +84,7 @@ int E_(Import_B4S)( vlc_object_t *p_this )
...
@@ -84,7 +84,7 @@ int E_(Import_B4S)( vlc_object_t *p_this )
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
if
(
p_sys
==
NULL
)
if
(
p_sys
==
NULL
)
{
{
msg_Err
(
p_demux
,
"
O
ut of memory"
);
msg_Err
(
p_demux
,
"
o
ut of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
p_sys
->
b_shout
=
p_demux
->
psz_demux
&&
p_sys
->
b_shout
=
p_demux
->
psz_demux
&&
...
...
modules/demux/playlist/pls.c
View file @
0ade81b0
...
@@ -76,7 +76,7 @@ int E_(Import_PLS)( vlc_object_t *p_this )
...
@@ -76,7 +76,7 @@ int E_(Import_PLS)( vlc_object_t *p_this )
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
if
(
p_demux
->
p_sys
==
NULL
)
if
(
p_demux
->
p_sys
==
NULL
)
{
{
msg_Err
(
p_demux
,
"
O
ut of memory"
);
msg_Err
(
p_demux
,
"
o
ut of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
p_demux
->
p_sys
->
psz_prefix
=
E_
(
FindPrefix
)(
p_demux
);
p_demux
->
p_sys
->
psz_prefix
=
E_
(
FindPrefix
)(
p_demux
);
...
...
modules/demux/playlist/podcast.c
View file @
0ade81b0
...
@@ -76,7 +76,7 @@ int E_(Import_podcast)( vlc_object_t *p_this )
...
@@ -76,7 +76,7 @@ int E_(Import_podcast)( vlc_object_t *p_this )
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
if
(
p_sys
==
NULL
)
if
(
p_sys
==
NULL
)
{
{
msg_Err
(
p_demux
,
"
O
ut of memory"
);
msg_Err
(
p_demux
,
"
o
ut of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
p_sys
->
psz_prefix
=
E_
(
FindPrefix
)(
p_demux
);
p_sys
->
psz_prefix
=
E_
(
FindPrefix
)(
p_demux
);
...
...
modules/demux/rawdv.c
View file @
0ade81b0
...
@@ -396,7 +396,7 @@ static block_t *dv_extract_audio( demux_t *p_demux,
...
@@ -396,7 +396,7 @@ static block_t *dv_extract_audio( demux_t *p_demux,
i_audio_quant
=
p_buf
[
4
]
&
0x07
;
/* 0 - 16bit, 1 - 12bit */
i_audio_quant
=
p_buf
[
4
]
&
0x07
;
/* 0 - 16bit, 1 - 12bit */
if
(
i_audio_quant
>
1
)
if
(
i_audio_quant
>
1
)
{
{
msg_Dbg
(
p_demux
,
"
U
nsupported quantization for DV audio"
);
msg_Dbg
(
p_demux
,
"
u
nsupported quantization for DV audio"
);
return
NULL
;
return
NULL
;
}
}
...
...
modules/demux/sgimb.c
View file @
0ade81b0
modules/demux/subtitle.c
View file @
0ade81b0
modules/demux/ts.c
View file @
0ade81b0
...
@@ -82,26 +82,29 @@ static void Close ( vlc_object_t * );
...
@@ -82,26 +82,29 @@ static void Close ( vlc_object_t * );
#define PMT_TEXT N_("Extra PMT")
#define PMT_TEXT N_("Extra PMT")
#define PMT_LONGTEXT N_( \
#define PMT_LONGTEXT N_( \
"Allows a user to specify an extra pmt (pmt_pid=pid:stream_type[,...])" )
"Allows a user to specify an extra pmt (pmt_pid=pid:stream_type[,...])
.
" )
#define PID_TEXT N_("Set id of ES to PID")
#define PID_TEXT N_("Set id of ES to PID")
#define PID_LONGTEXT N_("set id of es to pid")
#define PID_LONGTEXT N_("Set the internal ID of each elementary stream" \
" handled by VLC to the same value as the PID in" \
" the TS stream, instead of 1, 2, 3, etc. Useful to" \
" do \'#duplicate{..., select=\"es=<pid>\"}\'.")
#define TSOUT_TEXT N_("Fast udp streaming")
#define TSOUT_TEXT N_("Fast udp streaming")
#define TSOUT_LONGTEXT N_( \
#define TSOUT_LONGTEXT N_( \
"Sends TS to specific ip:port by udp (you must know what you are doing)")
"Sends TS to specific ip:port by udp (you must know what you are doing)
.
")
#define MTUOUT_TEXT N_("MTU for out mode")
#define MTUOUT_TEXT N_("MTU for out mode")
#define MTUOUT_LONGTEXT N_("MTU for out mode")
#define MTUOUT_LONGTEXT N_("MTU for out mode
.
")
#define CSA_TEXT N_("CSA ck")
#define CSA_TEXT N_("CSA ck")
#define CSA_LONGTEXT N_("C
SA ck
")
#define CSA_LONGTEXT N_("C
ontrol word for the CSa encryption algorithm
")
#define SILENT_TEXT N_("Silent mode")
#define SILENT_TEXT N_("Silent mode")
#define SILENT_LONGTEXT N_("
do not complain on encrypted PES
")
#define SILENT_LONGTEXT N_("
Do not complain on encrypted PES.
")
#define CAPMT_SYSID_TEXT N_("CAPMT System ID")
#define CAPMT_SYSID_TEXT N_("CAPMT System ID")
#define CAPMT_SYSID_LONGTEXT N_("
only forward descriptors from this SysID to the CAM
")
#define CAPMT_SYSID_LONGTEXT N_("
Only forward descriptors from this SysID to the CAM.
")
#define CPKT_TEXT N_("Packet size in bytes to decrypt")
#define CPKT_TEXT N_("Packet size in bytes to decrypt")
#define CPKT_LONGTEXT N_("Specify the size of the TS packet to decrypt. " \
#define CPKT_LONGTEXT N_("Specify the size of the TS packet to decrypt. " \
...
@@ -109,7 +112,7 @@ static void Close ( vlc_object_t * );
...
@@ -109,7 +112,7 @@ static void Close ( vlc_object_t * );
"decrypting. " )
"decrypting. " )
#define TSDUMP_TEXT N_("Filename of dump")
#define TSDUMP_TEXT N_("Filename of dump")
#define TSDUMP_LONGTEXT N_("Specify a filename where to dump the TS in")
#define TSDUMP_LONGTEXT N_("Specify a filename where to dump the TS in
.
")
#define APPEND_TEXT N_("Append")
#define APPEND_TEXT N_("Append")
#define APPEND_LONGTEXT N_( \
#define APPEND_LONGTEXT N_( \
...
@@ -832,7 +835,7 @@ static int DemuxFile( demux_t *p_demux )
...
@@ -832,7 +835,7 @@ static int DemuxFile( demux_t *p_demux )
i_data
=
stream_Read
(
p_demux
->
s
,
p_sys
->
buffer
,
i_bufsize
);
i_data
=
stream_Read
(
p_demux
->
s
,
p_sys
->
buffer
,
i_bufsize
);
if
(
(
i_data
<=
0
)
&&
(
i_data
<
p_sys
->
i_packet_size
)
)
if
(
(
i_data
<=
0
)
&&
(
i_data
<
p_sys
->
i_packet_size
)
)
{
{
msg_Dbg
(
p_demux
,
"
E
rror reading malformed packets"
);
msg_Dbg
(
p_demux
,
"
e
rror reading malformed packets"
);
return
i_data
;
return
i_data
;
}
}
...
...
modules/demux/ty.c
View file @
0ade81b0
...
@@ -784,7 +784,7 @@ static int ty_stream_seek(demux_t *p_demux, double seek_pct)
...
@@ -784,7 +784,7 @@ static int ty_stream_seek(demux_t *p_demux, double seek_pct)
/* seek within the chunk to get roughly to where we want */
/* seek within the chunk to get roughly to where we want */
p_sys
->
i_cur_rec
=
(
int
)
p_sys
->
i_cur_rec
=
(
int
)
((
double
)
((
seek_pos
%
CHUNK_SIZE
)
/
(
double
)
(
CHUNK_SIZE
))
*
p_sys
->
i_num_recs
);
((
double
)
((
seek_pos
%
CHUNK_SIZE
)
/
(
double
)
(
CHUNK_SIZE
))
*
p_sys
->
i_num_recs
);
msg_Dbg
(
p_demux
,
"
S
eeked to file pos "
I64Fd
,
seek_pos
);
msg_Dbg
(
p_demux
,
"
s
eeked to file pos "
I64Fd
,
seek_pos
);
msg_Dbg
(
p_demux
,
" (chunk %d, record %d)"
,
msg_Dbg
(
p_demux
,
" (chunk %d, record %d)"
,
p_sys
->
i_chunk_count
-
1
,
p_sys
->
i_cur_rec
);
p_sys
->
i_chunk_count
-
1
,
p_sys
->
i_cur_rec
);
...
...
modules/demux/vobsub.c
View file @
0ade81b0
modules/demux/voc.c
View file @
0ade81b0
...
@@ -157,7 +157,6 @@ static unsigned int fix_voc_sr( unsigned int sr )
...
@@ -157,7 +157,6 @@ static unsigned int fix_voc_sr( unsigned int sr )
return
sr
;
return
sr
;
}
}
static
int
ReadBlockHeader
(
demux_t
*
p_demux
)
static
int
ReadBlockHeader
(
demux_t
*
p_demux
)
{
{
es_format_t
new_fmt
;
es_format_t
new_fmt
;
...
@@ -189,7 +188,7 @@ static int ReadBlockHeader( demux_t *p_demux )
...
@@ -189,7 +188,7 @@ static int ReadBlockHeader( demux_t *p_demux )
if
(
buf
[
1
]
)
if
(
buf
[
1
]
)
{
{
msg_Err
(
p_demux
,
"
U
nsupported compression"
);
msg_Err
(
p_demux
,
"
u
nsupported compression"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -265,7 +264,7 @@ static int ReadBlockHeader( demux_t *p_demux )
...
@@ -265,7 +264,7 @@ static int ReadBlockHeader( demux_t *p_demux )
if
(
buf
[
2
]
)
if
(
buf
[
2
]
)
{
{
msg_Err
(
p_demux
,
"
U
nsupported compression"
);
msg_Err
(
p_demux
,
"
u
nsupported compression"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -295,7 +294,7 @@ static int ReadBlockHeader( demux_t *p_demux )
...
@@ -295,7 +294,7 @@ static int ReadBlockHeader( demux_t *p_demux )
if
(
buf
[
1
]
)
if
(
buf
[
1
]
)
{
{
msg_Err
(
p_demux
,
"
U
nsupported compression"
);
msg_Err
(
p_demux
,
"
u
nsupported compression"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -328,7 +327,7 @@ static int ReadBlockHeader( demux_t *p_demux )
...
@@ -328,7 +327,7 @@ static int ReadBlockHeader( demux_t *p_demux )
break
;
break
;
default:
default:
msg_Err
(
p_demux
,
"
U
nsupported bit res.: %u bits"
,
msg_Err
(
p_demux
,
"
u
nsupported bit res.: %u bits"
,
new_fmt
.
audio
.
i_bitspersample
);
new_fmt
.
audio
.
i_bitspersample
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -346,14 +345,14 @@ static int ReadBlockHeader( demux_t *p_demux )
...
@@ -346,14 +345,14 @@ static int ReadBlockHeader( demux_t *p_demux )
break
;
break
;
default:
default:
msg_Err
(
p_demux
,
"
U
nsupported bit res.: %u bits"
,
msg_Err
(
p_demux
,
"
u
nsupported bit res.: %u bits"
,
new_fmt
.
audio
.
i_bitspersample
);
new_fmt
.
audio
.
i_bitspersample
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
break
;
break
;
default:
default:
msg_Err
(
p_demux
,
"
U
nsupported compression"
);
msg_Err
(
p_demux
,
"
u
nsupported compression"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -366,7 +365,7 @@ static int ReadBlockHeader( demux_t *p_demux )
...
@@ -366,7 +365,7 @@ static int ReadBlockHeader( demux_t *p_demux )
break
;
break
;
default:
default:
msg_Dbg
(
p_demux
,
"
U
nknown block type %u - skipping block"
,
msg_Dbg
(
p_demux
,
"
u
nknown block type %u - skipping block"
,
(
unsigned
)
*
buf
);
(
unsigned
)
*
buf
);
case
4
:
/* blocks of non-audio types can be skipped */
case
4
:
/* blocks of non-audio types can be skipped */
case
5
:
case
5
:
...
...
modules/demux/wav.c
View file @
0ade81b0
...
@@ -381,7 +381,7 @@ static int ChunkFind( demux_t *p_demux, char *fcc, unsigned int *pi_size )
...
@@ -381,7 +381,7 @@ static int ChunkFind( demux_t *p_demux, char *fcc, unsigned int *pi_size )
i_size
=
GetDWLE
(
p_peek
+
4
);
i_size
=
GetDWLE
(
p_peek
+
4
);
msg_Dbg
(
p_demux
,
"
C
hunk: fcc=`%4.4s` size=%d"
,
p_peek
,
i_size
);
msg_Dbg
(
p_demux
,
"
c
hunk: fcc=`%4.4s` size=%d"
,
p_peek
,
i_size
);
if
(
!
memcmp
(
p_peek
,
fcc
,
4
)
)
if
(
!
memcmp
(
p_peek
,
fcc
,
4
)
)
{
{
...
...
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