mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-04 21:25:40 +01:00
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
7e06e0ede3
commit
0abdb29317
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "avformat.h"
|
||||
#include "avio_internal.h"
|
||||
#include "riff.h"
|
||||
#include "libavcodec/bytestream.h"
|
||||
|
||||
@@ -321,7 +322,7 @@ const AVCodecTag ff_codec_wav_tags[] = {
|
||||
#if CONFIG_MUXERS
|
||||
int64_t ff_start_tag(AVIOContext *pb, const char *tag)
|
||||
{
|
||||
put_tag(pb, tag);
|
||||
ffio_wfourcc(pb, tag);
|
||||
avio_wl32(pb, 0);
|
||||
return url_ftell(pb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user