diff options
Diffstat (limited to 'libavformat/framecrcenc.c')
-rw-r--r-- | libavformat/framecrcenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c index f456ec6816..26ede95495 100644 --- a/libavformat/framecrcenc.c +++ b/libavformat/framecrcenc.c @@ -28,7 +28,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt) char buf[256]; snprintf(buf, sizeof(buf), "%d, %"PRId64", %d, 0x%08x\n", pkt->stream_index, pkt->dts, pkt->size, crc); - put_buffer(s->pb, buf, strlen(buf)); + avio_write(s->pb, buf, strlen(buf)); put_flush_packet(s->pb); return 0; } |