diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-26 19:51:56 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-26 19:51:56 +0400 |
commit | b616405c16ea0b69fbd68a315ec240959114d44e (patch) | |
tree | f6d0613a53c6cd6e53ab60ed73a47cad01498362 | |
parent | e15e5328a7ad008d111e64d49708894ec6280eed (diff) |
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>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |