Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
Stephan Holljes authored on 2016/10/01 04:17:54... | ... |
@@ -1156,7 +1156,8 @@ int avio_read_to_bprint(AVIOContext *h, AVBPrint *pb, size_t max_size) |
1156 | 1156 |
int avio_accept(AVIOContext *s, AVIOContext **c) |
1157 | 1157 |
{ |
1158 | 1158 |
int ret; |
1159 |
- URLContext *sc = s->opaque; |
|
1159 |
+ AVIOInternal *internal = s->opaque; |
|
1160 |
+ URLContext *sc = internal->h; |
|
1160 | 1161 |
URLContext *cc = NULL; |
1161 | 1162 |
ret = ffurl_accept(sc, &cc); |
1162 | 1163 |
if (ret < 0) |
... | ... |
@@ -1166,7 +1167,8 @@ int avio_accept(AVIOContext *s, AVIOContext **c) |
1166 | 1166 |
|
1167 | 1167 |
int avio_handshake(AVIOContext *c) |
1168 | 1168 |
{ |
1169 |
- URLContext *cc = c->opaque; |
|
1169 |
+ AVIOInternal *internal = c->opaque; |
|
1170 |
+ URLContext *cc = internal->h; |
|
1170 | 1171 |
return ffurl_handshake(cc); |
1171 | 1172 |
} |
1172 | 1173 |
|