1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-16 08:38:24 +02:00

Replace various inlined inverse AVRational with av_inv_q().

This commit is contained in:
Clément Bœsch
2012-08-05 23:25:27 +02:00
parent ad55244c96
commit 16dc5f2050
10 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ static int vfw_read_header(AVFormatContext *s)
goto fail;
codec = st->codec;
codec->time_base = (AVRational){framerate_q.den, framerate_q.num};
codec->time_base = av_inv_q(framerate_q);
codec->codec_type = AVMEDIA_TYPE_VIDEO;
codec->width = bi->bmiHeader.biWidth;
codec->height = bi->bmiHeader.biHeight;