fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.

This commit is contained in:
Anton Khirnov
2011-06-03 13:29:43 +02:00
parent 1572484f62
commit a3b15e411d
2 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ av_cold static int fbdev_read_header(AVFormatContext *avctx,
st->codec->width = fbdev->width;
st->codec->height = fbdev->heigth;
st->codec->pix_fmt = pix_fmt;
st->codec->time_base = ap->time_base;
st->codec->time_base = (AVRational){fbdev->fps.den, fbdev->fps.num};
st->codec->bit_rate =
fbdev->width * fbdev->heigth * fbdev->bytes_per_pixel * av_q2d(fbdev->fps) * 8;