X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=qdc.cpp;h=5a4a9d506195586ec9c56d2893621c0f69379233;hb=df875b27feed0684ef6b469ceda368fdbf2a2043;hp=f1ff2542575f866ae4de3c063b2c57acac1586f3;hpb=2161c821c9c65ebae24eff9c2e4809c11c67cd02;p=narabu diff --git a/qdc.cpp b/qdc.cpp index f1ff254..5a4a9d5 100644 --- a/qdc.cpp +++ b/qdc.cpp @@ -721,7 +721,7 @@ int main(int argc, char **argv) // DC coefficient pred from the right to left (within each slice) for (unsigned block_idx = 0; block_idx < NUM_BLOCKS; block_idx += 320) { - int prev_k = 0; + int prev_k = 128; for (unsigned subblock_idx = 320; subblock_idx --> 0; ) { unsigned yb = (block_idx + subblock_idx) / WIDTH_BLOCKS;