Fix for cabac_flush, fixes decoding on HM11+

This commit is contained in:
Marko Viitanen 2013-09-03 11:42:17 +03:00
parent e4a8aaa8eb
commit 9125244338

View file

@ -262,7 +262,7 @@ void cabac_flush(cabac_data* data)
cabac_encodeBinTrm(data,1);
cabac_finish(data);
bitstream_put(data->stream,1,1);
bitstream_align(data->stream);
bitstream_align_zero(data->stream);
cabac_start(data);
}