Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 4c738caadc..9df3b829d2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1107,7 +1107,7 @@ static void do_video_stats(OutputStream *ost, int frame_size)
fprintf(vstats_file,"f_size= %6d ", frame_size);
/* compute pts value */
- ti1 = ost->last_mux_dts_plus_duration * av_q2d(enc->time_base);
+ ti1 = ost->last_mux_dts_plus_duration * av_q2d(ost->st->time_base);
if (ti1 < 0.01)
ti1 = 0.01;