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/oggenc.c | |
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/oggenc.c')
-rw-r--r-- | libavformat/oggenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 533f89e7b8..fc4010d3b8 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -25,6 +25,7 @@ #include "libavcodec/bytestream.h" #include "libavcodec/flac.h" #include "avformat.h" +#include "avio_internal.h" #include "internal.h" #include "vorbiscomment.h" @@ -85,7 +86,7 @@ static int ogg_write_page(AVFormatContext *s, OGGPage *page, int extra_flags) if (ret < 0) return ret; init_checksum(pb, ff_crc04C11DB7_update, 0); - put_tag(pb, "OggS"); + ffio_wfourcc(pb, "OggS"); avio_w8(pb, 0); avio_w8(pb, page->flags | extra_flags); avio_wl64(pb, page->granule); |