aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wav.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-24 07:36:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-26 03:16:04 +0100
commit324429309ee3090b4a08b04ab50be76751a16dbd (patch)
tree9dec7f2f3c87755e6212be22e059afa7793ab601 /libavformat/wav.c
parent853daff68210e4c2bf72afa2f757f89146e5d8c2 (diff)
downloadffmpeg-324429309ee3090b4a08b04ab50be76751a16dbd.tar.gz
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 0abdb2931719d96dee725e555e9b46b2b2f8a6be)
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index dea70fa4dc..a574b3b16f 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -23,6 +23,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avformat.h"
+#include "avio_internal.h"
#include "pcm.h"
#include "riff.h"
@@ -42,9 +43,9 @@ static int wav_write_header(AVFormatContext *s)
AVIOContext *pb = s->pb;
int64_t fmt, fact;
- put_tag(pb, "RIFF");
+ ffio_wfourcc(pb, "RIFF");
avio_wl32(pb, 0); /* file length */
- put_tag(pb, "WAVE");
+ ffio_wfourcc(pb, "WAVE");
/* format header */
fmt = ff_start_tag(pb, "fmt ");