diff options
author | Marton Balint <cus@passwd.hu> | 2023-01-22 00:59:59 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-01-26 20:11:41 +0100 |
commit | 91c29cf9344855bf33bdcd6add2a61a88e468611 (patch) | |
tree | 1eba6a6c70ee3576f926b6075d7698ae2f5b8e04 /libavcodec | |
parent | 7e4ad6e6a854c13f0c8b499a03cf50f21398874d (diff) | |
download | ffmpeg-91c29cf9344855bf33bdcd6add2a61a88e468611.tar.gz |
avcodec/rv20enc: use MpegEncContext->picture_number instead of encode function parameter
They should be the same and that is what most encode functions use.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/rv20enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv20enc.c b/libavcodec/rv20enc.c index a6bacacb48..00f6c41e77 100644 --- a/libavcodec/rv20enc.c +++ b/libavcodec/rv20enc.c @@ -39,7 +39,7 @@ void ff_rv20_encode_picture_header(MpegEncContext *s, int picture_number){ put_bits(&s->pb, 1, 0); /* unknown bit */ put_bits(&s->pb, 5, s->qscale); - put_sbits(&s->pb, 8, picture_number); //FIXME wrong, but correct is not known + put_sbits(&s->pb, 8, s->picture_number); //FIXME wrong, but correct is not known s->mb_x= s->mb_y= 0; ff_h263_encode_mba(s); |