diff options
author | Luca Abeni <lucabe72@email.it> | 2004-06-18 03:03:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-18 03:03:32 +0000 |
commit | 6e454c38b0e67c9df68492bc7fb00c7f4c911abb (patch) | |
tree | cc7388b9824f47cf263be96e4eb0796309eacb8b /libavformat/audio.c | |
parent | 30b5382bf900889def36daa05a96624c27618119 (diff) | |
download | ffmpeg-6e454c38b0e67c9df68492bc7fb00c7f4c911abb.tar.gz |
A/V Synch in ffmpeg patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3233 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/audio.c')
-rw-r--r-- | libavformat/audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/audio.c b/libavformat/audio.c index e3e5888e9b..5296333669 100644 --- a/libavformat/audio.c +++ b/libavformat/audio.c @@ -263,6 +263,7 @@ static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt) 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)))) { |