This was missed in d7e2a2bb35e394287b3e3dc27744830bf0b7ca99.
Unified · Split
| @@ -525,6 +525,7 @@ static int libsrt_open(URLContext *h, const char *uri, int flags) · 524 unmodified lines | ||
| 525 | 525 | av_freep(&s->passphrase); |
| 526 | 526 | s->passphrase = av_strndup(buf, strlen(buf)); |
| 527 | 527 | } |
| 528 | +#if SRT_VERSION_VALUE >= 0x010302 | |
| 528 | 529 | if (av_find_info_tag(buf, sizeof(buf), "enforced_encryption", p)) { |
| 529 | 530 | s->enforced_encryption = strtol(buf, NULL, 10); |
| 530 | 531 | } |
| @@ -534,6 +535,7 @@ static int libsrt_open(URLContext *h, const char *uri, int flags) · 3 unmodified lines | ||
| 534 | 535 | if (av_find_info_tag(buf, sizeof(buf), "kmpreannounce", p)) { |
| 535 | 536 | s->kmpreannounce = strtol(buf, NULL, 10); |
| 536 | 537 | } |
| 538 | +#endif | |
| 537 | 539 | if (av_find_info_tag(buf, sizeof(buf), "mss", p)) { |
| 538 | 540 | s->mss = strtol(buf, NULL, 10); |
| 539 | 541 | } |