Commit 4c12cc5f authored by David Barker's avatar David Barker Committed by Debargha Mukherjee

Comment out code accidentally left in the bitstream_debug patch

In https://aomedia-review.googlesource.com/#/c/5864/ , some
code to stop the decoder at a preselected point was left enabled.
This code should only be uncommented when debugging, so comment
it out by default.

Change-Id: Ie168e8a1588ba92971e3ff1a056f597a7dfca136
parent 3baf526f
......@@ -47,14 +47,14 @@ static INLINE int aom_daala_read(daala_reader *r, int prob) {
int bit;
int p = ((prob << 15) + (256 - prob)) >> 8;
#if CONFIG_BITSTREAM_DEBUG
{
const int queue_r = bitstream_queue_get_read();
const int frame_idx = bitstream_queue_get_frame_read();
if (frame_idx == 3 && queue_r == 72877) {
fprintf(stderr, "\n *** bitstream queue at frame_idx_r %d queue_r %d\n",
frame_idx, queue_r);
}
/*{
const int queue_r = bitstream_queue_get_read();
const int frame_idx = bitstream_queue_get_frame_read();
if (frame_idx == 0 && queue_r == 0) {
fprintf(stderr, "\n *** bitstream queue at frame_idx_r %d queue_r %d\n",
frame_idx, queue_r);
}
}*/
#endif
if (prob == 128) {
......
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