Skip to content

Commit

Permalink
oggparseogm: fix order of arguments of avpriv_set_pts_info().
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Khirnov <[email protected]>
  • Loading branch information
michaelni authored and elenril committed Mar 22, 2012
1 parent 677df4d commit f0b4a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/oggparseogm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f0b4a50

Please sign in to comment.