From 957b6850c3a0e1dd8057f015a2fe6a5d84bfc716 Mon Sep 17 00:00:00 2001 From: Jaakko Laitinen Date: Mon, 25 Sep 2017 13:48:56 +0300 Subject: [PATCH] Change ref list printout to match hm decoded printout --- src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.c b/src/cli.c index 5ae2a207..8b0f7020 100644 --- a/src/cli.c +++ b/src/cli.c @@ -518,7 +518,7 @@ void print_frame_info(const kvz_frame_info *const info, if (info->slice_type != KVZ_SLICE_I) { // Print reference picture lists fprintf(stderr, " [L0 "); - for (int j = info->ref_list_len[0] - 1; j >= 0; j--) { + for (int j = 0; j < info->ref_list_len[0]; j++) { fprintf(stderr, "%d ", info->ref_list[0][j]); } fprintf(stderr, "] [L1 ");