diff mbox series

[FFmpeg-devel,v2,4/4] avformat/argo_asf: formatting fixes

Message ID 20200119141945.16889-2-zane@zanevaniperen.com
State New
Headers show
Series Argonaut Games ASF and ADPCM decoding support
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork fail Failed to apply patch

Commit Message

Zane van Iperen Jan. 19, 2020, 2:20 p.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 libavformat/argo_asf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c
index d8f2d71009..d51d16f6b7 100644
--- a/libavformat/argo_asf.c
+++ b/libavformat/argo_asf.c
@@ -24,8 +24,8 @@ 
 #include "libavutil/intreadwrite.h"
 
 #define ASF_TAG                 MKTAG('A', 'S', 'F', '\0')
-#define ASF_FILE_HEADER_SIZE    (24)
-#define ASF_CHUNK_HEADER_SIZE   (20)
+#define ASF_FILE_HEADER_SIZE    24
+#define ASF_CHUNK_HEADER_SIZE   20
 
 typedef struct ArgoASFFileHeader {
     uint32_t    magic;          /*< Magic Number, {'A', 'S', 'F', '\0'} */
@@ -69,7 +69,7 @@  static void argo_asf_parse_file_header(ArgoASFFileHeader *hdr, const uint8_t *bu
     hdr->version_minor   = AV_RL16(buf + 6);
     hdr->num_chunks      = AV_RL32(buf + 8);
     hdr->chunk_offset    = AV_RL32(buf + 12);
-    for(int i = 0; i < 8; ++i)
+    for (int i = 0; i < 8; i++)
         hdr->name[i]     = AV_RL8(buf + 16 + i);
 }
 
@@ -110,7 +110,7 @@  static int argo_asf_probe(const AVProbeData *p)
 
     argo_asf_parse_file_header(&hdr, p->buf);
 
-    if(hdr.magic != ASF_TAG)
+    if (hdr.magic != ASF_TAG)
         return 0;
 
     if (argo_asf_is_known_version(&hdr))