Browse Source

seek-test: use standard format specifiers in snprintf()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
cd2f7ed000
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/seek-test.c

+ 1
- 1
libavformat/seek-test.c View File

@@ -53,7 +53,7 @@ static void ts_str(char buffer[60], int64_t ts, AVRational base)
return;
}
ts= av_rescale_q(ts, base, (AVRational){1, 1000000});
snprintf(buffer, 60, "%c%Ld.%06Ld", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000);
snprintf(buffer, 60, "%c%"PRId64".%06"PRId64"", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000);
}

int main(int argc, char **argv)


Loading…
Cancel
Save