[FFmpeg-cvslog] lavd/lavfi: fix compiler warning for uninitialized variables
Jean First
git at videolan.org
Sat Dec 31 11:53:01 CET 2011
ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Fri Dec 30 21:07:59 2011 +0100| [81980bf740f3b3d14efe8ee96cf54edbc5e1f063] | committer: Stefano Sabatini
lavd/lavfi: fix compiler warning for uninitialized variables
Signed-off-by: Jean First <jeanfirst at gmail.com>
Signed-off-by: Stefano Sabatini <stefasab at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=81980bf740f3b3d14efe8ee96cf54edbc5e1f063
---
libavdevice/lavfi.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 4f91a4b..de3731a 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 */
More information about the ffmpeg-cvslog
mailing list