Commit a5a71992 authored by Anton Khirnov's avatar Anton Khirnov

mpeg4videoenc: don't set MpegEncContext.resync_marker

It is only used in one place immediately after it is set.
parent ad09f525
......@@ -1054,8 +1054,7 @@ static void mpeg4_encode_vol_header(MpegEncContext *s,
if (vo_ver_id != 1)
put_bits(&s->pb, 1, s->quarter_sample);
put_bits(&s->pb, 1, 1); /* complexity estimation disable */
s->resync_marker = s->rtp_mode;
put_bits(&s->pb, 1, s->resync_marker ? 0 : 1); /* resync marker disable */
put_bits(&s->pb, 1, s->rtp_mode ? 0 : 1); /* resync marker disable */
put_bits(&s->pb, 1, s->data_partitioning ? 1 : 0);
if (s->data_partitioning)
put_bits(&s->pb, 1, 0); /* no rvlc */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment