summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_dsp/daalaboolwriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_dsp/daalaboolwriter.c')
-rw-r--r--third_party/aom/aom_dsp/daalaboolwriter.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/third_party/aom/aom_dsp/daalaboolwriter.c b/third_party/aom/aom_dsp/daalaboolwriter.c
index 0ba8f6ab8..59af2a243 100644
--- a/third_party/aom/aom_dsp/daalaboolwriter.c
+++ b/third_party/aom/aom_dsp/daalaboolwriter.c
@@ -24,9 +24,5 @@ void aom_daala_stop_encode(daala_writer *br) {
daala_data = od_ec_enc_done(&br->ec, &daala_bytes);
memcpy(br->buffer, daala_data, daala_bytes);
br->pos = daala_bytes;
- /* Prevent ec bitstream from being detected as a superframe marker.
- Must always be added, so that rawbits knows the exact length of the
- bitstream. */
- br->buffer[br->pos++] = 0;
od_ec_enc_clear(&br->ec);
}