mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics: indentation
Originally committed as revision 17662 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d3a5794958
commit
344bcea46d
@ -36,14 +36,14 @@ static int flac_read_header(AVFormatContext *s,
|
||||
st->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
/* the parameters will be extracted from the compressed bitstream */
|
||||
|
||||
/* skip ID3v2 header if found */
|
||||
ret = get_buffer(s->pb, buf, ID3v2_HEADER_SIZE);
|
||||
if (ret == ID3v2_HEADER_SIZE && ff_id3v2_match(buf)) {
|
||||
int len = ff_id3v2_tag_len(buf);
|
||||
url_fseek(s->pb, len - ID3v2_HEADER_SIZE, SEEK_CUR);
|
||||
} else {
|
||||
url_fseek(s->pb, 0, SEEK_SET);
|
||||
}
|
||||
/* skip ID3v2 header if found */
|
||||
ret = get_buffer(s->pb, buf, ID3v2_HEADER_SIZE);
|
||||
if (ret == ID3v2_HEADER_SIZE && ff_id3v2_match(buf)) {
|
||||
int len = ff_id3v2_tag_len(buf);
|
||||
url_fseek(s->pb, len - ID3v2_HEADER_SIZE, SEEK_CUR);
|
||||
} else {
|
||||
url_fseek(s->pb, 0, SEEK_SET);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user