Mercurial > libavformat.hg
diff asf.c @ 462:b69898ffc92a libavformat
move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
author | michael |
---|---|
date | Fri, 21 May 2004 20:43:21 +0000 |
parents | 50bae308f71e |
children | 696f41bc8784 |
line wrap: on
line diff
--- a/asf.c Thu May 20 16:00:22 2004 +0000 +++ b/asf.c Fri May 21 20:43:21 2004 +0000 @@ -148,8 +148,6 @@ int size, i; int64_t gsize; - av_set_pts_info(s, 32, 1, 1000); /* 32 bit pts in ms */ - get_guid(pb, &g); if (memcmp(&g, &asf_header, sizeof(GUID))) goto fail; @@ -193,6 +191,7 @@ st = av_new_stream(s, 0); if (!st) goto fail; + av_set_pts_info(st, 32, 1, 1000); /* 32 bit pts in ms */ asf_st = av_mallocz(sizeof(ASFStream)); if (!asf_st) goto fail;