|
@ -23,7 +23,7 @@ |
|
|
+ } else {
|
|
|
+ } else {
|
|
|
+ key_url = seg->key;
|
|
|
+ key_url = seg->key;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (open_url(pls->parent, &pb, key_url, c->avio_opts, opts, NULL) == 0) {
|
|
|
+ if (open_url(pls->parent, &pb, key_url, &c->avio_opts, opts, NULL) == 0) {
|
|
|
ret = avio_read(pb, pls->key, sizeof(pls->key)); |
|
|
ret = avio_read(pb, pls->key, sizeof(pls->key)); |
|
|
if (ret != sizeof(pls->key)) { |
|
|
if (ret != sizeof(pls->key)) { |
|
|
av_log(pls->parent, AV_LOG_ERROR, "Unable to read key file %s\n", |
|
|
av_log(pls->parent, AV_LOG_ERROR, "Unable to read key file %s\n", |
|
|