mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 16:36:56 +00:00
Fix printf types: AVRational members are ints, not 64 bit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21822 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fde73bb200
commit
275f89e3cd
@ -157,7 +157,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
image_u = image_y + image_width * image_height;
|
||||
image_v = image_u + image_width * image_height / 4;
|
||||
|
||||
fprintf(yuv_out, "YUV4MPEG2 W%d H%d F%ld:%ld I%c A%"PRId64":%"PRId64"\n",
|
||||
fprintf(yuv_out, "YUV4MPEG2 W%d H%d F%ld:%ld I%c A%d:%d\n",
|
||||
image_width, image_height, (long)(image_fps * 1000000.0),
|
||||
(long)1000000, config_interlace,
|
||||
pixelaspect.num, pixelaspect.den);
|
||||
|
Loading…
Reference in New Issue
Block a user