[Libva] [PATCH 5/6] Fix the p->load_huffman_table[0] keep print first element in for loop
Lim Siew Hoon
siew.hoon.lim at intel.com
Fri Jul 1 05:29:12 UTC 2016
Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
va/va_trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/va/va_trace.c b/va/va_trace.c
index a4b499f..96c076c 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -1877,7 +1877,7 @@ static void va_TraceVAHuffmanTableBufferJPEG(
va_TraceMsg(trace_ctx,"*VAHuffmanTableBufferJPEG\n");
for (i = 0; i < 2; ++i) {
- va_TraceMsg(trace_ctx,"\tload_huffman_table[%d] =%u\n", i, p->load_huffman_table[0]);
+ va_TraceMsg(trace_ctx,"\tload_huffman_table[%d] =%u\n", i, p->load_huffman_table[i]);
va_TraceMsg(trace_ctx,"\thuffman_table[%d] =\n", i);
memset(tmp, 0, sizeof tmp);
for (j = 0; j < 16; ++j) {
--
2.1.0
More information about the Libva
mailing list