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
59c1fec9
Commit
59c1fec9
authored
Sep 15, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/avidec: Change (last)pos to 64bit
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
3e2ef003
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
avidec.c
libavformat/avidec.c
+4
-3
No files found.
libavformat/avidec.c
View file @
59c1fec9
...
...
@@ -1526,8 +1526,9 @@ static int avi_read_idx1(AVFormatContext *s, int size)
int
nb_index_entries
,
i
;
AVStream
*
st
;
AVIStream
*
ast
;
unsigned
int
index
,
tag
,
flags
,
pos
,
len
,
first_packet
=
1
;
unsigned
last_pos
=
-
1
;
int64_t
pos
;
unsigned
int
index
,
tag
,
flags
,
len
,
first_packet
=
1
;
int64_t
last_pos
=
-
1
;
unsigned
last_idx
=
-
1
;
int64_t
idx1_pos
,
first_packet_pos
=
0
,
data_offset
=
0
;
int
anykey
=
0
;
...
...
@@ -1557,7 +1558,7 @@ static int avi_read_idx1(AVFormatContext *s, int size)
flags
=
avio_rl32
(
pb
);
pos
=
avio_rl32
(
pb
);
len
=
avio_rl32
(
pb
);
av_log
(
s
,
AV_LOG_TRACE
,
"%d: tag=0x%x flags=0x%x pos=0x%
x
len=%d/"
,
av_log
(
s
,
AV_LOG_TRACE
,
"%d: tag=0x%x flags=0x%x pos=0x%
"
PRIx64
"
len=%d/"
,
i
,
tag
,
flags
,
pos
,
len
);
index
=
((
tag
&
0xff
)
-
'0'
)
*
10
;
...
...
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