From 2a6874fd24388de531e3d1441fa8cd36517f5721 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Thu, 23 Jan 2003 09:52:30 +0000 Subject: [PATCH] removed warnings Originally committed as revision 1496 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv.c | 3 ++- libavformat/raw.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/dv.c b/libavformat/dv.c index 1f152a2fba..d6d5fd938c 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -29,7 +29,8 @@ typedef struct DVDemuxContext { static int dv_read_header(AVFormatContext *s, AVFormatParameters *ap) { - AVStream *vst, *ast; + AVStream *vst; + // AVStream *ast; vst = av_new_stream(s, 0); if (!vst) diff --git a/libavformat/raw.c b/libavformat/raw.c index 518206ea56..70185f8e42 100644 --- a/libavformat/raw.c +++ b/libavformat/raw.c @@ -82,7 +82,7 @@ int raw_read_packet(AVFormatContext *s, AVPacket *pkt) { int ret, size; - AVStream *st = s->streams[0]; + // AVStream *st = s->streams[0]; size= RAW_PACKET_SIZE;