Skip to content
Snippets Groups Projects
Commit f0b4a505 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Anton Khirnov
Browse files

oggparseogm: fix order of arguments of avpriv_set_pts_info().


Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 677df4d2
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment