Mercurial > libavformat.hg
comparison asf.c @ 991:30b54c043135 libavformat
timebase fix
author | michael |
---|---|
date | Thu, 02 Mar 2006 19:50:21 +0000 |
parents | d2e5dfdf4def |
children | 801d4a5cf353 |
comparison
equal
deleted
inserted
replaced
990:f7394f02e95a | 991:30b54c043135 |
---|---|
800 if (av_read_frame(s, pkt) < 0){ | 800 if (av_read_frame(s, pkt) < 0){ |
801 av_log(s, AV_LOG_INFO, "seek failed\n"); | 801 av_log(s, AV_LOG_INFO, "seek failed\n"); |
802 return AV_NOPTS_VALUE; | 802 return AV_NOPTS_VALUE; |
803 } | 803 } |
804 | 804 |
805 pts= pkt->pts * 1000 / AV_TIME_BASE; | 805 pts= pkt->pts; |
806 | 806 |
807 av_free_packet(pkt); | 807 av_free_packet(pkt); |
808 if(pkt->flags&PKT_FLAG_KEY){ | 808 if(pkt->flags&PKT_FLAG_KEY){ |
809 i= pkt->stream_index; | 809 i= pkt->stream_index; |
810 | 810 |