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
e4917f59
Commit
e4917f59
authored
Nov 20, 2004
by
Mike Melanson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use correct types
Originally committed as revision 3698 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
353147ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
nsvdec.c
libavformat/nsvdec.c
+8
-8
No files found.
libavformat/nsvdec.c
View file @
e4917f59
...
...
@@ -233,7 +233,7 @@ static int nsv_resync(AVFormatContext *s)
{
NSVContext
*
nsv
=
s
->
priv_data
;
ByteIOContext
*
pb
=
&
s
->
pb
;
uint32
v
=
0
;
uint32
_t
v
=
0
;
int
i
;
PRINT
((
"%s(), offset = %Ld, state = %d
\n
"
,
__FUNCTION__
,
url_ftell
(
pb
),
nsv
->
state
));
...
...
@@ -541,13 +541,13 @@ static int nsv_read_chunk(AVFormatContext *s, int fill_header)
AVStream
*
st
[
2
]
=
{
NULL
,
NULL
};
NSVStream
*
nst
;
AVPacket
*
pkt
;
uint32
v
=
0
;
uint32
_t
v
=
0
;
int
i
,
err
=
0
;
uint8
auxcount
;
/* number of aux metadata, also 4 bits of vsize */
uint32
vsize
;
uint16
asize
;
uint16
auxsize
;
uint32
auxtag
;
uint8
_t
auxcount
;
/* number of aux metadata, also 4 bits of vsize */
uint32
_t
vsize
;
uint16
_t
asize
;
uint16
_t
auxsize
;
uint32
_t
auxtag
;
PRINT
((
"%s(%d)
\n
"
,
__FUNCTION__
,
fill_header
));
...
...
@@ -586,7 +586,7 @@ null_chunk_retry:
((
auxtag
>>
24
)
&
0x0ff
),
auxsize
));
url_fskip
(
pb
,
auxsize
);
vsize
-=
auxsize
+
sizeof
(
uint16
)
+
sizeof
(
uint32
);
/* that's becoming braindead */
vsize
-=
auxsize
+
sizeof
(
uint16
_t
)
+
sizeof
(
uint32_t
);
/* that's becoming braindead */
}
if
(
url_feof
(
pb
))
...
...
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