aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/idroqenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/idroqenc.c')
-rw-r--r--libavformat/idroqenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/idroqenc.c b/libavformat/idroqenc.c
index 8859c98a93..9935b61e1b 100644
--- a/libavformat/idroqenc.c
+++ b/libavformat/idroqenc.c
@@ -29,7 +29,7 @@ static int roq_write_header(struct AVFormatContext *s)
0x84, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x00
};
- put_buffer(s->pb, header, 8);
+ avio_write(s->pb, header, 8);
put_flush_packet(s->pb);
return 0;