summaryrefslogtreecommitdiff
path: root/libavformat/mmst.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mmst.c')
-rw-r--r--libavformat/mmst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mmst.c b/libavformat/mmst.c
index fa6e86ac26..20b04b12aa 100644
--- a/libavformat/mmst.c
+++ b/libavformat/mmst.c
@@ -154,13 +154,13 @@ static int send_command_packet(MMSTContext *mmst)
static int mms_put_utf16(MMSContext *mms, const uint8_t *src)
{
- AVIOContext bic;
+ FFIOContext bic;
int size = mms->write_out_ptr - mms->out_buffer;
int len;
ffio_init_context(&bic, mms->write_out_ptr,
sizeof(mms->out_buffer) - size, 1, NULL, NULL, NULL, NULL);
- len = avio_put_str16le(&bic, src);
+ len = avio_put_str16le(&bic.pub, src);
if (len < 0)
return len;
mms->write_out_ptr += len;