                        Licenses of third-party software

                              --------------------

The TSDuck software is released under the terms of the license which is commonly
referred to as "BSD 2-Clause License" or "Simplified BSD License" or "FreeBSD License".
See file LICENSE.txt and http://opensource.org/licenses/BSD-2-Clause

TSDuck includes parts of other libraries, either in source or binary form. The
license for these third-party software are described below.

                                ==== DTAPI ====

[[ DTAPI is proprietary software from Dektec. It is delivered in binary    ]]
[[ form only. TSDuck source code does not include DTAPI. The build scripts ]]
[[ of TSDuck download DTAPI and include it in TSDuck binary packages.      ]]
[[ Reference site: https://www.dektec.com/downloads/SDK/                   ]]

Copyright (C) 2000-2017 DekTec Digital Video B.V.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list
   of conditions and the following disclaimer.

2. Redistributions in binary format must reproduce the above copyright notice, this
   list of conditions and the following disclaimer in the documentation.

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL DEKTEC DIGITAL VIDEO BV, ITS AGENTS OR ITS EMPLOYEES BE LIABLE FOR
ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR OTHER DAMAGES (INCLUDING DAMAGES
FOR THE LOSS OF USE, INFORMATION, GOODWILL, PROFIT, WORK STOPPAGE, DATA, BUSINESS OR
REVENUE) UNDER ANY CIRCUMSTANCES, OR UNDER ANY LEGAL THEORY, WHETHER IN CONTRACT, IN
TORT, IN NEGLIGENCE, OR OTHERWISE, ARISING FROM THE USE OF, OR INABILITY TO USE THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

                                ==== LIBSRT ====

[[ LIBSRT is used by TSDuck to access Secure Reliable Transport. LIBSRT is ]]
[[ distributed according to the terms of the Mozilla Public License        ]]
[[ Version 2.0. No source code from LIBSRT is used in TSDuck. However, on  ]]
[[ Windows, the TSDuck binary installers include the LIBSRT binaries.      ]]
[[ Reference site: https://github.com/Haivision/srt                        ]]

Copyright (c) 2018 Haivision Systems Inc.

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

                               ==== LIBRIST ====

[[ LIBRIST is used by TSDuck to access Reliable Internet Stream Transport. ]]
[[ LIBRIST is distributed according to the terms of the BSD-2-Clause       ]]
[[ license. No source code from LIBRIST is used in TSDuck. However, on     ]]
[[ Windows, the TSDuck binary installers include the LIBRIST binaries.     ]]
[[ Reference site: https://code.videolan.org/rist/librist                  ]]

Copyright (c) 2019-2020, VideoLAN and librist authors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

                              ==== LibVatek ====

[[ LibVatek is open-source software from Vision Advance Technology Inc.    ]]
[[ (VATek). LibVatek is used by TSDuck to access modulator devices which   ]]
[[ are based on VATek chips. LibVatek is distributed according to the      ]]
[[ terms of the BSD-2-Clause license. No source code from LibVatek is used ]]
[[ in TSDuck. However, on Windows and Linux, the TSDuck binary installers  ]]
[[ include the LibVatek binaries.                                          ]]
[[ Reference: https://github.com/VisionAdvanceTechnologyInc/vatek_sdk_2    ]]

Copyright (c) 2022, Richie Chang
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

                            ==== Small Deflate ====

[[ Small Deflate is a small bare bone lossless compression library which   ]]
[[ implements the Deflate (RFC 1951) compressed data format specification  ]]
[[ standard. Inside TSDuck, it is used as replacement for zlib on Windows. ]]

This software is available under 2 licenses -- choose whichever you prefer.

ALTERNATIVE A - MIT License
Copyright (c) 2020-2023 Micha Mettke

ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
