summaryrefslogtreecommitdiff
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-19 20:16:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-21 18:53:42 +0200
commit1f359c85599b58ffed58e61e543f2acb0a3d6295 (patch)
tree3d671c209ba5c325e167ec25256f70ed2d4aeb01 /ffmpeg_opt.c
parent7f7080dc73df87c9aa5b96faf99567277fc6c6eb (diff)
ffmpeg: use av_stream_get_end_pts()
Simplifies code and should correct timing values when -*sync drop is used Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index eefd8f00ec..eeacf5828c 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1152,7 +1152,6 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
input_streams[source_index]->st->discard = AVDISCARD_NONE;
}
ost->last_mux_dts = AV_NOPTS_VALUE;
- ost->last_mux_dts_plus_duration = AV_NOPTS_VALUE;
return ost;
}