1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00

avcodec/h263: Remove unused argument of h263_get_motion_length()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-05-24 16:58:55 +02:00
parent 39de31ccb6
commit b71dc29729

View File

@ -126,7 +126,7 @@ int ff_h263_resync(MpegEncContext *s);
void ff_h263_encode_motion(MpegEncContext * s, int val, int f_code); 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; int l, bit_size, code;
if (val == 0) { 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){ 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) { if (s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT) {
skip_put_bits(&s->pb, skip_put_bits(&s->pb,
h263_get_motion_length(s, x, f_code) h263_get_motion_length(x, f_code)
+h263_get_motion_length(s, y, f_code)); +h263_get_motion_length(y, f_code));
}else{ }else{
ff_h263_encode_motion(s, x, f_code); ff_h263_encode_motion(s, x, f_code);
ff_h263_encode_motion(s, y, f_code); ff_h263_encode_motion(s, y, f_code);