Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fb9f1117
Commit
fb9f1117
authored
Aug 15, 2008
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: misc spelling fixes
Originally committed as revision 14778 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ff9c8d7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
raw.c
libavformat/raw.c
+9
-9
No files found.
libavformat/raw.c
View file @
fb9f1117
...
@@ -198,7 +198,7 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
...
@@ -198,7 +198,7 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
url_fskip
(
s
->
pb
,
2
);
url_fskip
(
s
->
pb
,
2
);
unk1
=
get_le16
(
s
->
pb
);
unk1
=
get_le16
(
s
->
pb
);
unk2
=
get_le16
(
s
->
pb
);
unk2
=
get_le16
(
s
->
pb
);
url_fskip
(
s
->
pb
,
22
);
//
ascii
timestamp
url_fskip
(
s
->
pb
,
22
);
//
ASCII
timestamp
av_log
(
NULL
,
AV_LOG_DEBUG
,
"Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d
\n
"
,
av_log
(
NULL
,
AV_LOG_DEBUG
,
"Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d
\n
"
,
size
,
w
,
h
,
unk1
,
unk2
);
size
,
w
,
h
,
unk1
,
unk2
);
...
@@ -261,7 +261,7 @@ static int audio_read_header(AVFormatContext *s,
...
@@ -261,7 +261,7 @@ static int audio_read_header(AVFormatContext *s,
return
0
;
return
0
;
}
}
/*
mpeg1/h
263 input */
/*
MPEG-1/H.
263 input */
static
int
video_read_header
(
AVFormatContext
*
s
,
static
int
video_read_header
(
AVFormatContext
*
s
,
AVFormatParameters
*
ap
)
AVFormatParameters
*
ap
)
{
{
...
@@ -275,8 +275,8 @@ static int video_read_header(AVFormatContext *s,
...
@@ -275,8 +275,8 @@ static int video_read_header(AVFormatContext *s,
st
->
codec
->
codec_id
=
s
->
iformat
->
value
;
st
->
codec
->
codec_id
=
s
->
iformat
->
value
;
st
->
need_parsing
=
AVSTREAM_PARSE_FULL
;
st
->
need_parsing
=
AVSTREAM_PARSE_FULL
;
/* for
mjpeg
, specify frame rate */
/* for
MJPEG
, specify frame rate */
/* for
mpeg4 specify it too (most mpeg
4 streams do not have the fixed_vop_rate set ...)*/
/* for
MPEG-4 specify it, too (most MPEG-
4 streams do not have the fixed_vop_rate set ...)*/
if
(
ap
->
time_base
.
num
)
{
if
(
ap
->
time_base
.
num
)
{
av_set_pts_info
(
st
,
64
,
ap
->
time_base
.
num
,
ap
->
time_base
.
den
);
av_set_pts_info
(
st
,
64
,
ap
->
time_base
.
num
,
ap
->
time_base
.
den
);
}
else
if
(
st
->
codec
->
codec_id
==
CODEC_ID_MJPEG
||
}
else
if
(
st
->
codec
->
codec_id
==
CODEC_ID_MJPEG
||
...
@@ -434,16 +434,16 @@ static int dts_probe(AVProbeData *p)
...
@@ -434,16 +434,16 @@ static int dts_probe(AVProbeData *p)
bufp
=
buf
;
bufp
=
buf
;
state
=
(
state
<<
16
)
|
bytestream_get_be16
(
&
bufp
);
state
=
(
state
<<
16
)
|
bytestream_get_be16
(
&
bufp
);
/*
R
egular bitstream */
/*
r
egular bitstream */
if
(
state
==
DCA_MARKER_RAW_BE
||
state
==
DCA_MARKER_RAW_LE
)
if
(
state
==
DCA_MARKER_RAW_BE
||
state
==
DCA_MARKER_RAW_LE
)
return
AVPROBE_SCORE_MAX
/
2
+
1
;
return
AVPROBE_SCORE_MAX
/
2
+
1
;
/* 14 bits big
endian bitstream */
/* 14 bits big
-
endian bitstream */
if
(
state
==
DCA_MARKER_14B_BE
)
if
(
state
==
DCA_MARKER_14B_BE
)
if
((
bytestream_get_be16
(
&
bufp
)
&
0xFFF0
)
==
0x07F0
)
if
((
bytestream_get_be16
(
&
bufp
)
&
0xFFF0
)
==
0x07F0
)
return
AVPROBE_SCORE_MAX
/
2
+
1
;
return
AVPROBE_SCORE_MAX
/
2
+
1
;
/* 14 bits little
endian bitstream */
/* 14 bits little
-
endian bitstream */
if
(
state
==
DCA_MARKER_14B_LE
)
if
(
state
==
DCA_MARKER_14B_LE
)
if
((
bytestream_get_be16
(
&
bufp
)
&
0xF0FF
)
==
0xF007
)
if
((
bytestream_get_be16
(
&
bufp
)
&
0xF0FF
)
==
0xF007
)
return
AVPROBE_SCORE_MAX
/
2
+
1
;
return
AVPROBE_SCORE_MAX
/
2
+
1
;
...
@@ -732,7 +732,7 @@ AVInputFormat m4v_demuxer = {
...
@@ -732,7 +732,7 @@ AVInputFormat m4v_demuxer = {
"m4v"
,
"m4v"
,
NULL_IF_CONFIG_SMALL
(
"raw MPEG-4 video format"
),
NULL_IF_CONFIG_SMALL
(
"raw MPEG-4 video format"
),
0
,
0
,
mpeg4video_probe
,
/** probing for
mpeg
4 data */
mpeg4video_probe
,
/** probing for
MPEG-
4 data */
video_read_header
,
video_read_header
,
raw_read_partial_packet
,
raw_read_partial_packet
,
.
flags
=
AVFMT_GENERIC_INDEX
,
.
flags
=
AVFMT_GENERIC_INDEX
,
...
@@ -919,7 +919,7 @@ AVInputFormat vc1_demuxer = {
...
@@ -919,7 +919,7 @@ AVInputFormat vc1_demuxer = {
.
value
=
CODEC_ID_VC1
,
.
value
=
CODEC_ID_VC1
,
};
};
/*
pcm
formats */
/*
PCM
formats */
#define PCMINPUTDEF(name, long_name, ext, codec) \
#define PCMINPUTDEF(name, long_name, ext, codec) \
AVInputFormat pcm_ ## name ## _demuxer = {\
AVInputFormat pcm_ ## name ## _demuxer = {\
...
...
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