[FFmpeg-devel] [PATCH 02/11] lavfi: fix compiler warning for uninitialized variables
Jean First
jeanfirst at gmail.com
Fri Dec 30 21:07:59 CET 2011
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
libavdevice/lavfi.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 4f91a4b..de3731a 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 */
--
1.7.7.3
More information about the ffmpeg-devel
mailing list