Browse Source

lavd/lavfi: fix compiler warning for uninitialized variables

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
tags/n0.10
Jean First Stefano Sabatini 14 years ago
parent
commit
81980bf740
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavdevice/lavfi.c

+ 2
- 1
libavdevice/lavfi.c View File

@@ -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 */


Loading…
Cancel
Save