diff options
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 */ |