summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-23 09:52:30 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-23 09:52:30 +0000
commit2a6874fd24388de531e3d1441fa8cd36517f5721 (patch)
treec743387e33a8a21d8a134b3ba54203676a00d213 /libavformat
parent7322a67c39d6388f3ce29b63fa0b72d1d50d8fd0 (diff)
removed warnings
Originally committed as revision 1496 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dv.c3
-rw-r--r--libavformat/raw.c2
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;