diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-09 00:11:37 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-22 22:51:43 +0400 |
commit | f0b4a505d8132d7e62cfec7b0a14c7594ec9c9f6 (patch) | |
tree | f8ff370149ccf465fe995efb8fe6c1e07e279017 /libavformat/oggparseogm.c | |
parent | 677df4d2ef2ccdf005e4c36d1a26a1afeb3e88fe (diff) |
oggparseogm: fix order of arguments of avpriv_set_pts_info().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/oggparseogm.c')
-rw-r--r-- | libavformat/oggparseogm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c index f16eb13039..d7fc426e6c 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 */ |