From 7fd3e1c766f7cb0143259405b425b133e8b8910f Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 18 Aug 2011 14:28:42 +0200 Subject: [PATCH] lavdev/lavfi: initialize variable, fix warning --- libavdevice/lavfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index aca102f7d6..464d302608 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -213,7 +213,7 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt) { LavfiContext *lavfi = avctx->priv_data; double min_pts = DBL_MAX; - int min_pts_sink_idx; + int min_pts_sink_idx = 0; AVFilterBufferRef *picref; AVPicture pict; int ret, i, size;