summaryrefslogtreecommitdiff
path: root/libavcodec/h263.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-24 16:58:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-24 16:58:55 +0200
commitb71dc297296a8a659fa7299acb6ebaa95a885ffd (patch)
treeb21cbb06d04374262e482f5dd94448db20036eb3 /libavcodec/h263.h
parent39de31ccb627bada6a42b7b58a1e069246e22238 (diff)
avcodec/h263: Remove unused argument of h263_get_motion_length()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h263.h')
-rw-r--r--libavcodec/h263.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h263.h b/libavcodec/h263.h
index dbc91e0beb..8b2e0166bb 100644
--- a/libavcodec/h263.h
+++ b/libavcodec/h263.h
@@ -126,7 +126,7 @@ int ff_h263_resync(MpegEncContext *s);
void ff_h263_encode_motion(MpegEncContext * s, int val, int f_code);
-static inline int h263_get_motion_length(MpegEncContext * s, int val, int f_code){
+static inline int h263_get_motion_length(int val, int f_code){
int l, bit_size, code;
if (val == 0) {
@@ -146,8 +146,8 @@ static inline int h263_get_motion_length(MpegEncContext * s, int val, int f_code
static inline void ff_h263_encode_motion_vector(MpegEncContext * s, int x, int y, int f_code){
if (s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT) {
skip_put_bits(&s->pb,
- h263_get_motion_length(s, x, f_code)
- +h263_get_motion_length(s, y, f_code));
+ h263_get_motion_length(x, f_code)
+ +h263_get_motion_length(y, f_code));
}else{
ff_h263_encode_motion(s, x, f_code);
ff_h263_encode_motion(s, y, f_code);