[FFmpeg-cvslog] lavdev/lavfi: initialize variable, fix warning

Stefano Sabatini git at videolan.org
Sat Aug 20 14:25:52 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Thu Aug 18 14:28:42 2011 +0200| [7fd3e1c766f7cb0143259405b425b133e8b8910f] | committer: Stefano Sabatini

lavdev/lavfi: initialize variable, fix warning

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7fd3e1c766f7cb0143259405b425b133e8b8910f
---

 libavdevice/lavfi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index aca102f..464d302 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -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;



More information about the ffmpeg-cvslog mailing list