On Wed, Mar 21, 2012 at 05:05:59PM +0100, Anton Khirnov wrote: > From: Michael Niedermayer <[email protected]> > > Signed-off-by: Anton Khirnov <[email protected]> > --- > libavformat/oggparseogm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c > index f16eb13..d7fc426 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 */ > --
OK if tested on real files _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
