diff options
Diffstat (limited to 'libavformat')
-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)))) { |