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;