summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-08 21:11:37 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-08 21:31:45 +0100
commit12c65efb413487290edc5ba65aca4255521d0ed6 (patch)
tree379e21c1fe73e13bc639f0174d117b45e4f7fadb /libavformat
parent4093220029a4d77f272c491e9299680480a08c00 (diff)
downloadffmpeg-streaming-12c65efb413487290edc5ba65aca4255521d0ed6.zip
ffmpeg-streaming-12c65efb413487290edc5ba65aca4255521d0ed6.tar.gz
oggparseogm: Fix order or arguments.
Bug introduced by libav in 1bb3990b560e7ff7f46c06c14f959fe432e0b625 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/oggparseogm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c
index a69e3ba..25857ee 100644
--- a/libavformat/oggparseogm.c
+++ b/libavformat/oggparseogm.c
@@ -84,7 +84,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 */
OpenPOWER on IntegriCloud