Browse Source

oggparseogm: fix order of arguments of avpriv_set_pts_info().

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.11
Michael Niedermayer Anton Khirnov 13 years ago
parent
commit
f0b4a505d8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggparseogm.c

+ 1
- 1
libavformat/oggparseogm.c View File

@@ -80,7 +80,7 @@ ogm_header(AVFormatContext *s, int idx)
if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){ if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){
st->codec->width = bytestream_get_le32(&p); st->codec->width = bytestream_get_le32(&p);
st->codec->height = 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 { } else {
st->codec->channels = bytestream_get_le16(&p); st->codec->channels = bytestream_get_le16(&p);
p += 2; /* block_align */ p += 2; /* block_align */


Loading…
Cancel
Save