diff options
author | Jean First <jeanfirst@gmail.com> | 2011-12-30 21:07:59 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-12-31 11:51:56 +0100 |
commit | 81980bf740f3b3d14efe8ee96cf54edbc5e1f063 (patch) | |
tree | aa2ea9fd8ac6f9bc74e94a493ca501f90d4800da /libavdevice/lavfi.c | |
parent | 8fb03b4d7043712733d4a306b1d31f6e6bfa464e (diff) | |
download | ffmpeg-81980bf740f3b3d14efe8ee96cf54edbc5e1f063.tar.gz |
lavd/lavfi: fix compiler warning for uninitialized variables
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavdevice/lavfi.c')
-rw-r--r-- | libavdevice/lavfi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |