diff options
Diffstat (limited to 'libavformat/crcenc.c')
-rw-r--r-- | libavformat/crcenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/crcenc.c b/libavformat/crcenc.c index 2f9a099a21..ec106b0b38 100644 --- a/libavformat/crcenc.c +++ b/libavformat/crcenc.c @@ -49,7 +49,7 @@ static int crc_write_trailer(struct AVFormatContext *s) char buf[64]; snprintf(buf, sizeof(buf), "CRC=0x%08x\n", crc->crcval); - put_buffer(s->pb, buf, strlen(buf)); + avio_write(s->pb, buf, strlen(buf)); put_flush_packet(s->pb); return 0; } |