diff options
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r-- | libavformat/sol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c index 3d2456d663..97ebfdb5eb 100644 --- a/libavformat/sol.c +++ b/libavformat/sol.c @@ -88,7 +88,7 @@ static int sol_read_header(AVFormatContext *s, { int size; unsigned int magic,tag; - ByteIOContext *pb = &s->pb; + ByteIOContext *pb = s->pb; unsigned int id, codec, channels, rate, type; AVStream *st; @@ -130,9 +130,9 @@ static int sol_read_packet(AVFormatContext *s, { int ret; - if (url_feof(&s->pb)) + if (url_feof(s->pb)) return AVERROR(EIO); - ret= av_get_packet(&s->pb, pkt, MAX_SIZE); + ret= av_get_packet(s->pb, pkt, MAX_SIZE); pkt->stream_index = 0; /* note: we need to modify the packet size here to handle the last |