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
1fbd3d30
Commit
1fbd3d30
authored
Dec 29, 2011
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indeo4: remove two unused variables
parent
762b21f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
indeo4.c
libavcodec/indeo4.c
+7
-4
No files found.
libavcodec/indeo4.c
View file @
1fbd3d30
...
...
@@ -160,7 +160,7 @@ static inline int scale_tile_size(int def_size, int size_factor)
*/
static
int
decode_pic_hdr
(
IVI4DecContext
*
ctx
,
AVCodecContext
*
avctx
)
{
int
pic_size_indx
,
val
,
i
,
p
;
int
pic_size_indx
,
i
,
p
;
IVIPicConfig
pic_conf
;
if
(
get_bits
(
&
ctx
->
gb
,
18
)
!=
0x3FFF8
)
{
...
...
@@ -301,7 +301,7 @@ static int decode_pic_hdr(IVI4DecContext *ctx, AVCodecContext *avctx)
/* skip picture header extension if any */
while
(
get_bits1
(
&
ctx
->
gb
))
{
av_dlog
(
avctx
,
"Pic hdr extension encountered!
\n
"
);
val
=
get
_bits
(
&
ctx
->
gb
,
8
);
skip
_bits
(
&
ctx
->
gb
,
8
);
}
if
(
get_bits1
(
&
ctx
->
gb
))
{
...
...
@@ -325,7 +325,7 @@ static int decode_pic_hdr(IVI4DecContext *ctx, AVCodecContext *avctx)
static
int
decode_band_hdr
(
IVI4DecContext
*
ctx
,
IVIBandDesc
*
band
,
AVCodecContext
*
avctx
)
{
int
plane
,
band_num
,
hdr_size
,
indx
,
transform_id
,
scan_indx
;
int
plane
,
band_num
,
indx
,
transform_id
,
scan_indx
;
int
i
;
plane
=
get_bits
(
&
ctx
->
gb
,
2
);
...
...
@@ -337,7 +337,10 @@ static int decode_band_hdr(IVI4DecContext *ctx, IVIBandDesc *band,
band
->
is_empty
=
get_bits1
(
&
ctx
->
gb
);
if
(
!
band
->
is_empty
)
{
hdr_size
=
get_bits1
(
&
ctx
->
gb
)
?
get_bits
(
&
ctx
->
gb
,
16
)
:
4
;
/* skip header size
* If header size is not given, header size is 4 bytes. */
if
(
get_bits1
(
&
ctx
->
gb
))
skip_bits
(
&
ctx
->
gb
,
16
);
band
->
is_halfpel
=
get_bits
(
&
ctx
->
gb
,
2
);
if
(
band
->
is_halfpel
>=
2
)
{
...
...
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