diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-15 18:01:32 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-15 18:02:43 +0200 |
commit | 7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (patch) | |
tree | 08d1d4010e20cd696e358bf03f9e2565f3256e0c /libavdevice/fbdev_dec.c | |
parent | 28e023377cfe42c5406441eeff32842c1bb1f09f (diff) | |
download | ffmpeg-7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d.tar.gz |
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Diffstat (limited to 'libavdevice/fbdev_dec.c')
-rw-r--r-- | libavdevice/fbdev_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/fbdev_dec.c b/libavdevice/fbdev_dec.c index c1e946a564..e9a3639391 100644 --- a/libavdevice/fbdev_dec.c +++ b/libavdevice/fbdev_dec.c @@ -136,11 +136,11 @@ static av_cold int fbdev_read_header(AVFormatContext *avctx) fbdev->width * fbdev->height * fbdev->bytes_per_pixel * av_q2d(fbdev->framerate_q) * 8; av_log(avctx, AV_LOG_INFO, - "w:%d h:%d bpp:%d pixfmt:%s fps:%d/%d bit_rate:%d\n", + "w:%d h:%d bpp:%d pixfmt:%s fps:%d/%d bit_rate:%"PRId64"\n", fbdev->width, fbdev->height, fbdev->varinfo.bits_per_pixel, av_get_pix_fmt_name(pix_fmt), fbdev->framerate_q.num, fbdev->framerate_q.den, - st->codec->bit_rate); + (int64_t)st->codec->bit_rate); return 0; fail: |