mpeg4videoenc: don't set MpegEncContext.resync_marker

It is only used in one place immediately after it is set.
This commit is contained in:
Anton Khirnov 2013-11-26 12:14:13 +01:00
parent ad09f52586
commit a5a71992ca
1 changed files with 1 additions and 2 deletions

View File

@ -1054,8 +1054,7 @@ static void mpeg4_encode_vol_header(MpegEncContext *s,
if (vo_ver_id != 1) if (vo_ver_id != 1)
put_bits(&s->pb, 1, s->quarter_sample); put_bits(&s->pb, 1, s->quarter_sample);
put_bits(&s->pb, 1, 1); /* complexity estimation disable */ put_bits(&s->pb, 1, 1); /* complexity estimation disable */
s->resync_marker = s->rtp_mode; put_bits(&s->pb, 1, s->rtp_mode ? 0 : 1); /* resync marker disable */
put_bits(&s->pb, 1, s->resync_marker ? 0 : 1); /* resync marker disable */
put_bits(&s->pb, 1, s->data_partitioning ? 1 : 0); put_bits(&s->pb, 1, s->data_partitioning ? 1 : 0);
if (s->data_partitioning) if (s->data_partitioning)
put_bits(&s->pb, 1, 0); /* no rvlc */ put_bits(&s->pb, 1, 0); /* no rvlc */