diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-26 21:21:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-27 00:26:35 +0200 |
commit | 03e44bcb3ff199fb4f7f043242979da80c75fec0 (patch) | |
tree | 9c57431a50eae6001af80eb0ca429779c347090c /ffmpeg.c | |
parent | 90d4b07063b31fda4f2f00a1e049f0ed8a0c392b (diff) | |
download | ffmpeg-03e44bcb3ff199fb4f7f043242979da80c75fec0.tar.gz |
ffmpeg: trivial simplification
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1730,7 +1730,7 @@ static int output_packet(InputStream *ist, const AVPacket *pkt) if (pkt->dts != AV_NOPTS_VALUE) { ist->next_dts = ist->dts = av_rescale_q(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q); if (ist->st->codec->codec_type != AVMEDIA_TYPE_VIDEO || !ist->decoding_needed) - ist->next_pts = ist->pts = av_rescale_q(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q); + ist->next_pts = ist->pts = ist->dts; } // while we have more to decode or while the decoder did output something on EOF |