X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Foggparseogm.c;h=d7fc426e6cfac976ffded687c232a57a8abd30ad;hb=85e5b866dca776ba259113604c56136c2c8531b3;hp=f16eb13039dc251f2a4f5c7566a1f089c0da7ff6;hpb=1bb3990b560e7ff7f46c06c14f959fe432e0b625;p=ffmpeg diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c index f16eb13039d..d7fc426e6cf 100644 --- a/libavformat/oggparseogm.c +++ b/libavformat/oggparseogm.c @@ -80,7 +80,7 @@ ogm_header(AVFormatContext *s, int idx) if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){ st->codec->width = bytestream_get_le32(&p); st->codec->height = bytestream_get_le32(&p); - avpriv_set_pts_info(st, 64, spu * 10000000, time_unit); + avpriv_set_pts_info(st, 64, time_unit, spu * 10000000); } else { st->codec->channels = bytestream_get_le16(&p); p += 2; /* block_align */