From 81980bf740f3b3d14efe8ee96cf54edbc5e1f063 Mon Sep 17 00:00:00 2001 From: Jean First Date: Fri, 30 Dec 2011 21:07:59 +0100 Subject: lavd/lavfi: fix compiler warning for uninitialized variables Signed-off-by: Jean First Signed-off-by: Stefano Sabatini --- libavdevice/lavfi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavdevice') diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index 4f91a4b754..de3731a086 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -270,7 +270,8 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt) int stream_idx, min_pts_sink_idx = 0; AVFilterBufferRef *ref; AVPicture pict; - int ret, i, size; + int ret, i; + int size = 0; /* iterate through all the graph sinks. Select the sink with the * minimum PTS */ -- cgit v1.2.3