summaryrefslogtreecommitdiff
path: root/libavformat/mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mm.c')
-rw-r--r--libavformat/mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mm.c b/libavformat/mm.c
index 475930f84a..53c3b49705 100644
--- a/libavformat/mm.c
+++ b/libavformat/mm.c
@@ -84,7 +84,7 @@ static int read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
MmDemuxContext *mm = s->priv_data;
- ByteIOContext *pb = s->pb;
+ AVIOContext *pb = s->pb;
AVStream *st;
unsigned int type, length;
@@ -137,7 +137,7 @@ static int read_packet(AVFormatContext *s,
AVPacket *pkt)
{
MmDemuxContext *mm = s->priv_data;
- ByteIOContext *pb = s->pb;
+ AVIOContext *pb = s->pb;
unsigned char preamble[MM_PREAMBLE_SIZE];
unsigned int type, length;