From 948f3c19a8bd069768ca411212aaf8c1ed96b10d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 26 Sep 2015 18:13:55 +0200 Subject: lavc: Make AVPacket.duration int64, and deprecate convergence_duration Note that convergence_duration had another meaning, one which was in practice never used. The only real use for it was a 64 bit replacement for the duration field. It's better just to make duration 64 bits, and to get rid of it. Signed-off-by: Vittorio Giovara --- libavcodec/audio_frame_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/audio_frame_queue.c') diff --git a/libavcodec/audio_frame_queue.c b/libavcodec/audio_frame_queue.c index 15ffa82e49..c4ca02b01f 100644 --- a/libavcodec/audio_frame_queue.c +++ b/libavcodec/audio_frame_queue.c @@ -111,7 +111,7 @@ int ff_af_queue_add(AudioFrameQueue *afq, const AVFrame *f) } void ff_af_queue_remove(AudioFrameQueue *afq, int nb_samples, int64_t *pts, - int *duration) + int64_t *duration) { int64_t out_pts = AV_NOPTS_VALUE; int removed_samples = 0; -- cgit v1.2.3