Commit b616405c authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: reset decoded_frame->pts after rescaling.

This ensures its not used afterwards.
This commit should not change anything as it should not have been used afterwards.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e15e5328
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment