Mercurial > libavformat.hg
diff crcenc.c @ 2771:d52c718e83f9 libavformat
Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Bj«Órn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
author | andoma |
---|---|
date | Wed, 21 Nov 2007 07:41:00 +0000 |
parents | 6326140d67ab |
children | 6f61c3b36632 |
line wrap: on
line diff
--- a/crcenc.c Mon Nov 19 20:28:11 2007 +0000 +++ b/crcenc.c Wed Nov 21 07:41:00 2007 +0000 @@ -48,8 +48,8 @@ char buf[64]; snprintf(buf, sizeof(buf), "CRC=0x%08x\n", crc->crcval); - put_buffer(&s->pb, buf, strlen(buf)); - put_flush_packet(&s->pb); + put_buffer(s->pb, buf, strlen(buf)); + put_flush_packet(s->pb); return 0; }