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:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-20 13:30:51 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-05-20 13:35:08 +0400
commit8364cb97193829dc3e14484c0aaadf59c0cafc8c (patch)
tree887dda5972760c88c98804503dae99f83bc50e2c /ffmpeg.c
parent31f3c94760b42e16e998dcc0b34e677d1aa431bc (diff)
ffmpeg: fix uninitialized variable warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
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)