[FFmpeg-devel] [PATCH v2 4/4] avformat/argo_asf: formatting fixes
Zane van Iperen
zane at zanevaniperen.com
Sun Jan 19 16:20:05 EET 2020
Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
libavformat/argo_asf.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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))
--
2.17.1
More information about the ffmpeg-devel
mailing list