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
a985a940
Commit
a985a940
authored
Aug 13, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export 4xm video version
Originally committed as revision 10092 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b74fb935
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
4xm.c
libavformat/4xm.c
+2
-2
No files found.
libavformat/4xm.c
View file @
a985a940
...
@@ -138,7 +138,6 @@ static int fourxm_read_header(AVFormatContext *s,
...
@@ -138,7 +138,6 @@ static int fourxm_read_header(AVFormatContext *s,
}
}
fourxm
->
width
=
AV_RL32
(
&
header
[
i
+
36
]);
fourxm
->
width
=
AV_RL32
(
&
header
[
i
+
36
]);
fourxm
->
height
=
AV_RL32
(
&
header
[
i
+
40
]);
fourxm
->
height
=
AV_RL32
(
&
header
[
i
+
40
]);
i
+=
8
+
size
;
/* allocate a new AVStream */
/* allocate a new AVStream */
st
=
av_new_stream
(
s
,
0
);
st
=
av_new_stream
(
s
,
0
);
...
@@ -150,10 +149,11 @@ static int fourxm_read_header(AVFormatContext *s,
...
@@ -150,10 +149,11 @@ static int fourxm_read_header(AVFormatContext *s,
st
->
codec
->
codec_type
=
CODEC_TYPE_VIDEO
;
st
->
codec
->
codec_type
=
CODEC_TYPE_VIDEO
;
st
->
codec
->
codec_id
=
CODEC_ID_4XM
;
st
->
codec
->
codec_id
=
CODEC_ID_4XM
;
st
->
codec
->
codec_tag
=
0
;
/* no fourcc */
st
->
codec
->
codec_tag
=
AV_RL32
(
&
header
[
i
+
16
]);
st
->
codec
->
width
=
fourxm
->
width
;
st
->
codec
->
width
=
fourxm
->
width
;
st
->
codec
->
height
=
fourxm
->
height
;
st
->
codec
->
height
=
fourxm
->
height
;
i
+=
8
+
size
;
}
else
if
(
fourcc_tag
==
strk_TAG
)
{
}
else
if
(
fourcc_tag
==
strk_TAG
)
{
/* check that there is enough data */
/* check that there is enough data */
if
(
size
!=
strk_SIZE
)
{
if
(
size
!=
strk_SIZE
)
{
...
...
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