From 0abdb2931719d96dee725e555e9b46b2b2f8a6be Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 24 Feb 2011 07:36:02 +0100 Subject: lavf: use a new ffio_wfourcc macro instead of put_tag() where possible Signed-off-by: Ronald S. Bultje --- libavformat/avio_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/avio_internal.h') diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h index 85e7f069e2..3b38990f56 100644 --- a/libavformat/avio_internal.h +++ b/libavformat/avio_internal.h @@ -42,4 +42,6 @@ int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size); void ffio_fill(AVIOContext *s, int b, int count); +#define ffio_wfourcc(pb, str) avio_wl32(pb, MKTAG((str)[0], (str)[1], (str)[2], (str)[3])) + #endif // AVFORMAT_AVIO_INTERNAL_H -- cgit v1.2.3