lavdev/lavfi: initialize variable, fix warning
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 18 Aug 2011 12:28:42 +0000 (14:28 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 20 Aug 2011 12:20:25 +0000 (14:20 +0200)
libavdevice/lavfi.c

index aca102f..464d302 100644 (file)
@@ -213,7 +213,7 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
 {
     LavfiContext *lavfi = avctx->priv_data;
     double min_pts = DBL_MAX;
-    int min_pts_sink_idx;
+    int min_pts_sink_idx = 0;
     AVFilterBufferRef *picref;
     AVPicture pict;
     int ret, i, size;