Remove useless init from aiff_read_header() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 18:18:29 +0000 (18:18 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 18:18:29 +0000 (18:18 +0000)
Originally committed as revision 18580 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/aiff.c

index d946f5b..8fb7925 100644 (file)
@@ -313,7 +313,7 @@ static int aiff_read_header(AVFormatContext *s,
     uint32_t tag;
     unsigned version = AIFF_C_VERSION1;
     ByteIOContext *pb = s->pb;
-    AVStream * st = s->streams[0];
+    AVStream * st;
 
     /* check FORM header */
     filesize = get_tag(pb, &tag);