[PATCH] fix indentation in ff_id3v2_parse=0A=
David Byron none
dbyron
Thu Sep 23 12:01:29 CEST 2010
=0A=
---=0A=
libavformat/id3v2.c | 24 ++++++++++++------------=0A=
1 files changed, 12 insertions(+), 12 deletions(-)=0A=
=0A=
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c=0A=
index b51f049..e2f19a0 100644=0A=
--- a/libavformat/id3v2.c=0A=
+++ b/libavformat/id3v2.c=0A=
@@ -59,20 +59,20 @@ void ff_id3v2_read(AVFormatContext *s, const char =
*magic)=0A=
do {=0A=
/* save the current offset in case there's nothing to read/skip =
*/=0A=
off =3D url_ftell(s->pb);=0A=
- ret =3D get_buffer(s->pb, buf, ID3v2_HEADER_SIZE);=0A=
- if (ret !=3D ID3v2_HEADER_SIZE)=0A=
- return;=0A=
+ ret =3D get_buffer(s->pb, buf, ID3v2_HEADER_SIZE);=0A=
+ if (ret !=3D ID3v2_HEADER_SIZE)=0A=
+ return;=0A=
found_header =3D ff_id3v2_match(buf, magic);=0A=
if (found_header) {=0A=
- /* parse ID3v2 header */=0A=
- len =3D ((buf[6] & 0x7f) << 21) |=0A=
- ((buf[7] & 0x7f) << 14) |=0A=
- ((buf[8] & 0x7f) << 7) |=0A=
- (buf[9] & 0x7f);=0A=
- ff_id3v2_parse(s, len, buf[3], buf[5]);=0A=
- } else {=0A=
- url_fseek(s->pb, off, SEEK_SET);=0A=
- }=0A=
+ /* parse ID3v2 header */=0A=
+ len =3D ((buf[6] & 0x7f) << 21) |=0A=
+ ((buf[7] & 0x7f) << 14) |=0A=
+ ((buf[8] & 0x7f) << 7) |=0A=
+ (buf[9] & 0x7f);=0A=
+ ff_id3v2_parse(s, len, buf[3], buf[5]);=0A=
+ } else { =0A=
+ url_fseek(s->pb, off, SEEK_SET);=0A=
+ }=0A=
} while (found_header);=0A=
}=0A=
=0A=
-- =0A=
1.6.0.4=0A=
=0A=
------=_NextPart_000_0A66_01CB5B26.C1472060
Content-Type: application/octet-stream;
name="0002-add-AVFMTCTX_ONLY_FRAME_DATA-currently-only-used-wh.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="0002-add-AVFMTCTX_ONLY_FRAME_DATA-currently-only-used-wh.patch"
More information about the ffmpeg-devel
mailing list