From 8364cb97193829dc3e14484c0aaadf59c0cafc8c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 20 May 2012 11:30:51 +0200 Subject: [PATCH] ffmpeg: fix uninitialized variable warning Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index a05d3c4155..6848f252e4 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2151,6 +2151,7 @@ static int poll_filters(void) } break; } + frame_pts = AV_NOPTS_VALUE; if (ost->enc->type == AVMEDIA_TYPE_VIDEO) filtered_frame->pts = frame_pts = av_rescale_q(picref->pts, ist_pts_tb, AV_TIME_BASE_Q); else if (picref->pts != AV_NOPTS_VALUE)