Checkpoint on frame checksum

This commit is contained in:
Laurent Fasnacht 2014-06-12 06:33:27 +02:00
parent 22df7cf98b
commit 14df6de0d0

View file

@ -21,6 +21,7 @@
#include <string.h>
#include "checkpoint.h"
#include "encoderstate.h"
#include "nal.h"
@ -665,6 +666,7 @@ static void add_checksum(encoder_state * const encoder_state)
checksum_val = (checksum[i][0] << 24) + (checksum[i][1] << 16) +
(checksum[i][2] << 8) + (checksum[i][3]);
WRITE_U(stream, checksum_val, 32, "picture_checksum");
CHECKPOINT("checksum[%d] = %u", i, checksum_val);
}
bitstream_align(stream);