Mercurial > libavformat.hg
comparison aiff.c @ 4889:848722752aa5 libavformat
Remove useless init from aiff_read_header() found by CSA.
author | michael |
---|---|
date | Fri, 17 Apr 2009 18:18:29 +0000 |
parents | 52e876e7c0cf |
children | 33a244b7ca65 |
comparison
equal
deleted
inserted
replaced
4888:1b46fda1e1e0 | 4889:848722752aa5 |
---|---|
311 int size, filesize; | 311 int size, filesize; |
312 int64_t offset = 0; | 312 int64_t offset = 0; |
313 uint32_t tag; | 313 uint32_t tag; |
314 unsigned version = AIFF_C_VERSION1; | 314 unsigned version = AIFF_C_VERSION1; |
315 ByteIOContext *pb = s->pb; | 315 ByteIOContext *pb = s->pb; |
316 AVStream * st = s->streams[0]; | 316 AVStream * st; |
317 | 317 |
318 /* check FORM header */ | 318 /* check FORM header */ |
319 filesize = get_tag(pb, &tag); | 319 filesize = get_tag(pb, &tag); |
320 if (filesize < 0 || tag != MKTAG('F', 'O', 'R', 'M')) | 320 if (filesize < 0 || tag != MKTAG('F', 'O', 'R', 'M')) |
321 return AVERROR_INVALIDDATA; | 321 return AVERROR_INVALIDDATA; |