Mercurial > libavformat.hg
changeset 481:f1430abbbd8b libavformat
A/V Synch in ffmpeg patch by (Luca Abeni <lucabe72 at email dot it>)
author | michael |
---|---|
date | Fri, 18 Jun 2004 03:03:32 +0000 |
parents | cfcca046161a |
children | 0fdc96c2f2fe |
files | audio.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/audio.c Thu Jun 17 10:46:08 2004 +0000 +++ b/audio.c Fri Jun 18 03:03:32 2004 +0000 @@ -263,6 +263,7 @@ if (ret == -1 && (errno == EAGAIN || errno == EINTR)) { av_free_packet(pkt); pkt->size = 0; + pkt->pts = av_gettime() & ((1LL << 48) - 1); return 0; } if (!(ret == 0 || (ret == -1 && (errno == EAGAIN || errno == EINTR)))) {