mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
e15e5328a7
commit
b616405c16
2
ffmpeg.c
2
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++)
|
for (i = 0; i < ist->nb_filters; i++)
|
||||||
av_buffersrc_add_frame(ist->filters[i]->filter, decoded_frame, 0);
|
av_buffersrc_add_frame(ist->filters[i]->filter, decoded_frame, 0);
|
||||||
|
|
||||||
|
decoded_frame->pts = AV_NOPTS_VALUE;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue