diff options
-rw-r--r-- | libavcodec/mpeg4videoenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index 993cb49fc4..14c6e8faed 100644 --- a/libavcodec/mpeg4videoenc.c +++ b/libavcodec/mpeg4videoenc.c @@ -1063,8 +1063,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 */ |