Better formatting for 2D tables in tableprint code.

Originally committed as revision 20402 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Reimar Döffinger 15 years ago
parent 8abe97be92
commit 9e8fecf7ea
  1. 2
      libavcodec/tableprint.c

@ -45,7 +45,7 @@ void write_##name##_2d_array(const void *arg, int len, int len2)\
{\
const type *data = arg;\
int i;\
printf(" {");\
printf(" {\n");\
for (i = 0; i < len; i++) {\
write_##name##_array(data + i * len2, len2, 0);\
printf(i == len - 1 ? " }\n" : " }, {\n");\

Loading…
Cancel
Save