diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c index aa4d44df0f..e051575e4f 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -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 / diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c index deaf7dc5c6..5a2af09b18 100644 --- a/libavcodec/ituh263enc.c +++ b/libavcodec/ituh263enc.c @@ -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);