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
6887cb8b
Commit
6887cb8b
authored
Nov 18, 2007
by
Roberto Togni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: remove ssize
Originally committed as revision 11054 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
52537534
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
rmdec.c
libavformat/rmdec.c
+2
-4
No files found.
libavformat/rmdec.c
View file @
6887cb8b
...
...
@@ -454,7 +454,6 @@ static int rm_assemble_video_frame(AVFormatContext *s, RMContext *rm, AVPacket *
ByteIOContext
*
pb
=
&
s
->
pb
;
int
hdr
,
seq
,
pic_num
,
len2
,
pos
;
int
type
;
int
ssize
;
hdr
=
get_byte
(
pb
);
len
--
;
type
=
hdr
>>
6
;
...
...
@@ -494,10 +493,9 @@ static int rm_assemble_video_frame(AVFormatContext *s, RMContext *rm, AVPacket *
if
((
seq
&
0x7F
)
==
1
||
rm
->
curpic_num
!=
pic_num
){
rm
->
slices
=
((
hdr
&
0x3F
)
<<
1
)
+
1
;
s
size
=
len2
+
8
*
rm
->
slices
+
1
;
if
(
!
(
rm
->
videobuf
=
av_realloc
(
rm
->
videobuf
,
s
size
)))
rm
->
videobuf
size
=
len2
+
8
*
rm
->
slices
+
1
;
if
(
!
(
rm
->
videobuf
=
av_realloc
(
rm
->
videobuf
,
rm
->
videobuf
size
)))
return
AVERROR
(
ENOMEM
);
rm
->
videobufsize
=
ssize
;
rm
->
videobufpos
=
8
*
rm
->
slices
+
1
;
rm
->
cur_slice
=
0
;
rm
->
curpic_num
=
pic_num
;
...
...
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