diff options
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r-- | libavformat/daud.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c index c493196..39a994b 100644 --- a/libavformat/daud.c +++ b/libavformat/daud.c @@ -57,9 +57,9 @@ static int daud_write_header(struct AVFormatContext *s) static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt) { - put_be16(s->pb, pkt->size); - put_be16(s->pb, 0x8010); // unknown - put_buffer(s->pb, pkt->data, pkt->size); + avio_wb16(s->pb, pkt->size); + avio_wb16(s->pb, 0x8010); // unknown + avio_write(s->pb, pkt->data, pkt->size); put_flush_packet(s->pb); return 0; } |