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
d19fc69f
Commit
d19fc69f
authored
Apr 13, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/ffv1: remove unneeded variable
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a3963cc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ffv1.c
libavcodec/ffv1.c
+4
-4
No files found.
libavcodec/ffv1.c
View file @
d19fc69f
...
...
@@ -111,7 +111,7 @@ av_cold int ffv1_init_slices_state(FFV1Context *f)
av_cold
int
ffv1_init_slice_contexts
(
FFV1Context
*
f
)
{
int
i
,
j
;
int
i
;
f
->
slice_count
=
f
->
num_h_slices
*
f
->
num_v_slices
;
av_assert0
(
f
->
slice_count
>
0
);
...
...
@@ -147,9 +147,9 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)
return
0
;
memfail:
for
(
j
=
0
;
j
<
i
;
j
++
)
{
av_freep
(
&
f
->
slice_context
[
j
]
->
sample_buffer
);
av_freep
(
&
f
->
slice_context
[
j
]);
while
(
--
i
>=
0
)
{
av_freep
(
&
f
->
slice_context
[
i
]
->
sample_buffer
);
av_freep
(
&
f
->
slice_context
[
i
]);
}
return
AVERROR
(
ENOMEM
);
}
...
...
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