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
26b89135
Commit
26b89135
authored
Jul 02, 2006
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kill warnings
Originally committed as revision 5586 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4dddc5e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
avidec.c
libavformat/avidec.c
+7
-5
No files found.
libavformat/avidec.c
View file @
26b89135
...
@@ -137,10 +137,12 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){
...
@@ -137,10 +137,12 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){
ast
->
cum_len
++
;
ast
->
cum_len
++
;
last_pos
=
pos
;
last_pos
=
pos
;
}
else
{
}
else
{
int64_t
offset
=
get_le64
(
pb
);
int64_t
offset
,
pos
;
int
size
=
get_le32
(
pb
);
int
duration
;
int
duration
=
get_le32
(
pb
);
offset
=
get_le64
(
pb
);
int64_t
pos
=
url_ftell
(
pb
);
get_le32
(
pb
);
/* size */
duration
=
get_le32
(
pb
);
pos
=
url_ftell
(
pb
);
url_fseek
(
pb
,
offset
+
8
,
SEEK_SET
);
url_fseek
(
pb
,
offset
+
8
,
SEEK_SET
);
read_braindead_odml_indx
(
s
,
frame_num
);
read_braindead_odml_indx
(
s
,
frame_num
);
...
@@ -186,7 +188,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
...
@@ -186,7 +188,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
unsigned
int
size
,
nb_frames
;
unsigned
int
size
,
nb_frames
;
int
i
,
n
;
int
i
,
n
;
AVStream
*
st
;
AVStream
*
st
;
AVIStream
*
ast
;
AVIStream
*
ast
=
NULL
;
int
xan_video
=
0
;
/* hack to support Xan A/V */
int
xan_video
=
0
;
/* hack to support Xan A/V */
avi
->
stream_index
=
-
1
;
avi
->
stream_index
=
-
1
;
...
...
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