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: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-26 17:51:56 +02:00
parent e15e5328a7
commit b616405c16
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}