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
802f454e
Commit
802f454e
authored
Aug 24, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused variable
Originally committed as revision 2162 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
acaa20d7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
8 deletions
+4
-8
h263.c
libavcodec/h263.c
+0
-1
mdec.c
libavcodec/mdec.c
+0
-1
motion_est.c
libavcodec/motion_est.c
+2
-0
motion_est_template.c
libavcodec/motion_est_template.c
+2
-0
vcr1.c
libavcodec/vcr1.c
+0
-6
No files found.
libavcodec/h263.c
View file @
802f454e
...
...
@@ -563,7 +563,6 @@ void mpeg4_encode_mb(MpegEncContext * s,
int
motion_x
,
int
motion_y
)
{
int
cbpc
,
cbpy
,
pred_x
,
pred_y
;
int
bits
;
PutBitContext
*
const
pb2
=
s
->
data_partitioning
?
&
s
->
pb2
:
&
s
->
pb
;
PutBitContext
*
const
tex_pb
=
s
->
data_partitioning
&&
s
->
pict_type
!=
B_TYPE
?
&
s
->
tex_pb
:
&
s
->
pb
;
PutBitContext
*
const
dc_pb
=
s
->
data_partitioning
&&
s
->
pict_type
!=
I_TYPE
?
&
s
->
pb2
:
&
s
->
pb
;
...
...
libavcodec/mdec.c
View file @
802f454e
...
...
@@ -249,7 +249,6 @@ static void mdec_common_init(AVCodecContext *avctx){
static
int
decode_init
(
AVCodecContext
*
avctx
){
MDECContext
*
const
a
=
avctx
->
priv_data
;
AVFrame
*
p
=
(
AVFrame
*
)
&
a
->
picture
;
int
i
;
mdec_common_init
(
avctx
);
init_vlcs
();
...
...
libavcodec/motion_est.c
View file @
802f454e
...
...
@@ -393,6 +393,7 @@ void ff_init_me(MpegEncContext *s){
}
}
#if 0
static int pix_dev(uint8_t * pix, int line_size, int mean)
{
int s, i, j;
...
...
@@ -414,6 +415,7 @@ static int pix_dev(uint8_t * pix, int line_size, int mean)
}
return s;
}
#endif
static
inline
void
no_motion_search
(
MpegEncContext
*
s
,
int
*
mx_ptr
,
int
*
my_ptr
)
...
...
libavcodec/motion_est_template.c
View file @
802f454e
...
...
@@ -186,7 +186,9 @@ static int RENAME(hpel_motion_search)(MpegEncContext * s,
#if 1
int
key
;
int
map_generation
=
s
->
me
.
map_generation
;
#ifndef NDEBUG
uint32_t
*
map
=
s
->
me
.
map
;
#endif
key
=
((
my
-
1
)
<<
ME_MAP_MV_BITS
)
+
(
mx
)
+
map_generation
;
assert
(
map
[(
index
-
(
1
<<
ME_MAP_SHIFT
))
&
(
ME_MAP_SIZE
-
1
)]
==
key
);
key
=
((
my
+
1
)
<<
ME_MAP_MV_BITS
)
+
(
mx
)
+
map_generation
;
...
...
libavcodec/vcr1.c
View file @
802f454e
...
...
@@ -150,9 +150,6 @@ static void common_init(AVCodecContext *avctx){
}
static
int
decode_init
(
AVCodecContext
*
avctx
){
VCR1Context
*
const
a
=
avctx
->
priv_data
;
AVFrame
*
p
=
(
AVFrame
*
)
&
a
->
picture
;
int
i
;
common_init
(
avctx
);
...
...
@@ -162,8 +159,6 @@ static int decode_init(AVCodecContext *avctx){
}
static
int
encode_init
(
AVCodecContext
*
avctx
){
VCR1Context
*
const
a
=
avctx
->
priv_data
;
int
i
;
common_init
(
avctx
);
...
...
@@ -171,7 +166,6 @@ static int encode_init(AVCodecContext *avctx){
}
static
int
decode_end
(
AVCodecContext
*
avctx
){
VCR1Context
*
const
a
=
avctx
->
priv_data
;
avcodec_default_free_buffers
(
avctx
);
...
...
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