Better formatting for 2D tables in tableprint code.

Originally committed as revision 20402 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-10-28 19:05:45 +00:00
parent 8abe97be92
commit 9e8fecf7ea

View File

@ -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");\