diff --git a/ffmpeg.c b/ffmpeg.c index 736b7e1c97..84efe0d7c1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2499,6 +2499,8 @@ static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output) for (i = 0; i < ist->nb_filters; i++) av_buffersrc_add_frame(ist->filters[i]->filter, decoded_frame, 0); + decoded_frame->pts = AV_NOPTS_VALUE; + return ret; }