You've already forked FFmpeg
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user