You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/{h261,ituh263}enc: Don't set ptr_lastgob unnecessarily
It will be overwritten later in encode_thread() anyway. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -74,9 +74,6 @@ static int h261_encode_picture_header(MPVMainEncContext *const m)
|
||||
|
||||
align_put_bits(&s->pb);
|
||||
|
||||
/* Update the pointer to last GOB */
|
||||
s->ptr_lastgob = put_bits_ptr(&s->pb);
|
||||
|
||||
put_bits(&s->pb, 20, 0x10); /* PSC */
|
||||
|
||||
temp_ref = s->picture_number * 30000LL * s->avctx->time_base.num /
|
||||
|
@ -249,8 +249,6 @@ static int h263_encode_picture_header(MPVMainEncContext *const m)
|
||||
|
||||
align_put_bits(&s->pb);
|
||||
|
||||
/* Update the pointer to last GOB */
|
||||
s->ptr_lastgob = put_bits_ptr(&s->pb);
|
||||
put_bits(&s->pb, 22, 0x20); /* PSC */
|
||||
temp_ref= s->picture_number * (int64_t)coded_frame_rate * s->avctx->time_base.num / //FIXME use timestamp
|
||||
(coded_frame_rate_base * (int64_t)s->avctx->time_base.den);
|
||||
|
Reference in New Issue
Block a user