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
5096399d
Commit
5096399d
authored
Apr 14, 2012
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utvideo: Remove unused variable 'src_size'
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
c788782c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
utvideo.c
libavcodec/utvideo.c
+4
-8
No files found.
libavcodec/utvideo.c
View file @
5096399d
...
...
@@ -112,7 +112,7 @@ static int build_huff(const uint8_t *src, VLC *vlc, int *fsym)
static
int
decode_plane
(
UtvideoContext
*
c
,
int
plane_no
,
uint8_t
*
dst
,
int
step
,
int
stride
,
int
width
,
int
height
,
const
uint8_t
*
src
,
int
src_size
,
int
use_pred
)
const
uint8_t
*
src
,
int
use_pred
)
{
int
i
,
j
,
slice
,
pix
;
int
sstart
,
send
;
...
...
@@ -151,7 +151,6 @@ static int decode_plane(UtvideoContext *c, int plane_no,
}
src
+=
256
;
src_size
-=
256
;
send
=
0
;
for
(
slice
=
0
;
slice
<
c
->
slices
;
slice
++
)
{
...
...
@@ -431,8 +430,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
for
(
i
=
0
;
i
<
c
->
planes
;
i
++
)
{
ret
=
decode_plane
(
c
,
i
,
c
->
pic
.
data
[
0
]
+
rgb_order
[
i
],
c
->
planes
,
c
->
pic
.
linesize
[
0
],
avctx
->
width
,
avctx
->
height
,
plane_start
[
i
],
plane_start
[
i
+
1
]
-
plane_start
[
i
],
c
->
frame_pred
==
PRED_LEFT
);
plane_start
[
i
],
c
->
frame_pred
==
PRED_LEFT
);
if
(
ret
)
return
ret
;
if
(
c
->
frame_pred
==
PRED_MEDIAN
)
...
...
@@ -447,8 +445,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
for
(
i
=
0
;
i
<
3
;
i
++
)
{
ret
=
decode_plane
(
c
,
i
,
c
->
pic
.
data
[
i
],
1
,
c
->
pic
.
linesize
[
i
],
avctx
->
width
>>
!!
i
,
avctx
->
height
>>
!!
i
,
plane_start
[
i
],
plane_start
[
i
+
1
]
-
plane_start
[
i
],
c
->
frame_pred
==
PRED_LEFT
);
plane_start
[
i
],
c
->
frame_pred
==
PRED_LEFT
);
if
(
ret
)
return
ret
;
if
(
c
->
frame_pred
==
PRED_MEDIAN
)
{
...
...
@@ -469,8 +466,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
for
(
i
=
0
;
i
<
3
;
i
++
)
{
ret
=
decode_plane
(
c
,
i
,
c
->
pic
.
data
[
i
],
1
,
c
->
pic
.
linesize
[
i
],
avctx
->
width
>>
!!
i
,
avctx
->
height
,
plane_start
[
i
],
plane_start
[
i
+
1
]
-
plane_start
[
i
],
c
->
frame_pred
==
PRED_LEFT
);
plane_start
[
i
],
c
->
frame_pred
==
PRED_LEFT
);
if
(
ret
)
return
ret
;
if
(
c
->
frame_pred
==
PRED_MEDIAN
)
{
...
...
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