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
6ce1a818
Commit
6ce1a818
authored
Apr 07, 2004
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unknown format chars
Originally committed as revision 2974 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8cc7a34d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
4xm.c
libavcodec/4xm.c
+1
-1
interplayvideo.c
libavcodec/interplayvideo.c
+1
-1
No files found.
libavcodec/4xm.c
View file @
6ce1a818
...
@@ -354,7 +354,7 @@ static int decode_p_frame(FourXContext *f, uint8_t *buf, int length){
...
@@ -354,7 +354,7 @@ static int decode_p_frame(FourXContext *f, uint8_t *buf, int length){
}
}
if
(
bitstream_size
!=
(
get_bits_count
(
&
f
->
gb
)
+
31
)
/
32
*
4
)
if
(
bitstream_size
!=
(
get_bits_count
(
&
f
->
gb
)
+
31
)
/
32
*
4
)
av_log
(
f
->
avctx
,
AV_LOG_ERROR
,
" %d %
zd %z
d bytes left
\n
"
,
av_log
(
f
->
avctx
,
AV_LOG_ERROR
,
" %d %
d %
d bytes left
\n
"
,
bitstream_size
-
(
get_bits_count
(
&
f
->
gb
)
+
31
)
/
32
*
4
,
bitstream_size
-
(
get_bits_count
(
&
f
->
gb
)
+
31
)
/
32
*
4
,
bytestream_size
-
(
f
->
bytestream
-
(
buf
+
20
+
bitstream_size
+
wordstream_size
)),
bytestream_size
-
(
f
->
bytestream
-
(
buf
+
20
+
bitstream_size
+
wordstream_size
)),
wordstream_size
-
(((
uint8_t
*
)
f
->
wordstream
)
-
(
buf
+
20
+
bitstream_size
))
wordstream_size
-
(((
uint8_t
*
)
f
->
wordstream
)
-
(
buf
+
20
+
bitstream_size
))
...
...
libavcodec/interplayvideo.c
View file @
6ce1a818
...
@@ -846,7 +846,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
...
@@ -846,7 +846,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
}
}
if
((
s
->
stream_ptr
!=
s
->
stream_end
)
&&
if
((
s
->
stream_ptr
!=
s
->
stream_end
)
&&
(
s
->
stream_ptr
+
1
!=
s
->
stream_end
))
{
(
s
->
stream_ptr
+
1
!=
s
->
stream_end
))
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
" Interplay video: decode finished with %
z
d bytes left over
\n
"
,
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
" Interplay video: decode finished with %d bytes left over
\n
"
,
s
->
stream_end
-
s
->
stream_ptr
);
s
->
stream_end
-
s
->
stream_ptr
);
}
}
}
}
...
...
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