diff options
Diffstat (limited to 'libavformat/flacenc.c')
-rw-r--r-- | libavformat/flacenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c index 5eee5bec09..8f5f6c2128 100644 --- a/libavformat/flacenc.c +++ b/libavformat/flacenc.c @@ -27,7 +27,7 @@ #include "libavcodec/bytestream.h" -static int flac_write_block_padding(ByteIOContext *pb, unsigned int n_padding_bytes, +static int flac_write_block_padding(AVIOContext *pb, unsigned int n_padding_bytes, int last_block) { put_byte(pb, last_block ? 0x81 : 0x01); @@ -39,7 +39,7 @@ static int flac_write_block_padding(ByteIOContext *pb, unsigned int n_padding_by return 0; } -static int flac_write_block_comment(ByteIOContext *pb, AVMetadata **m, +static int flac_write_block_comment(AVIOContext *pb, AVMetadata **m, int last_block, int bitexact) { const char *vendor = bitexact ? "ffmpeg" : LIBAVFORMAT_IDENT; @@ -90,7 +90,7 @@ static int flac_write_header(struct AVFormatContext *s) static int flac_write_trailer(struct AVFormatContext *s) { - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; uint8_t *streaminfo; enum FLACExtradataFormat format; int64_t file_size; |