diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-24 07:36:02 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-25 14:38:22 -0500 |
commit | 0abdb2931719d96dee725e555e9b46b2b2f8a6be (patch) | |
tree | 754205c09fa6f9b77b1700cffec28828d539d5e3 /libavformat/avio_internal.h | |
parent | 7e06e0ede3b798f591634b277e8dfa6507b196de (diff) | |
download | ffmpeg-0abdb2931719d96dee725e555e9b46b2b2f8a6be.tar.gz |
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avio_internal.h')
-rw-r--r-- | libavformat/avio_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |