[FFmpeg-devel] [PATCH 1/2] lavf/id3v2: cosmetics: reindent

Matthieu Bouron matthieu.bouron at gmail.com
Sat Jan 19 13:38:26 CET 2013


---
 libavformat/id3v2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index f805f5b..98f8f9e 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -790,8 +790,8 @@ void ff_id3v2_read(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **extra
         ret = avio_read(s->pb, buf, ID3v2_HEADER_SIZE);
         if (ret != ID3v2_HEADER_SIZE)
             break;
-            found_header = ff_id3v2_match(buf, magic);
-            if (found_header) {
+        found_header = ff_id3v2_match(buf, magic);
+        if (found_header) {
             /* parse ID3v2 header */
             len = ((buf[6] & 0x7f) << 21) |
                   ((buf[7] & 0x7f) << 14) |
-- 
1.8.1.1



More information about the ffmpeg-devel mailing list