X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fspdif.h;h=f5b15ebbb12e3ea0b598f7b4f0dc915ef5382f6d;hb=70c77fdfc1076fd7f6cd20079237ddc97e1a10bc;hp=ac5be7c31abcd2e1e32df40a90af322cfe77da4a;hpb=d8e481bb860747808220d2baf0cdec5a70c54c1e;p=ffmpeg diff --git a/libavformat/spdif.h b/libavformat/spdif.h index ac5be7c31ab..f5b15ebbb12 100644 --- a/libavformat/spdif.h +++ b/libavformat/spdif.h @@ -2,23 +2,26 @@ * IEC 61937 common header * Copyright (c) 2009 Bartlomiej Wolowiec * - * This file is part of FFmpeg. + * This file is part of Libav. * - * FFmpeg is free software; you can redistribute it and/or + * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * FFmpeg is distributed in the hope that it will be useful, + * Libav is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with FFmpeg; if not, write to the Free Software + * License along with Libav; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVFORMAT_SPDIF_H +#define AVFORMAT_SPDIF_H + #include #define SYNCWORD1 0xF872 @@ -37,9 +40,9 @@ enum IEC61937DataType { IEC61937_DTS1 = 0x0B, ///< DTS type I (512 samples) IEC61937_DTS2 = 0x0C, ///< DTS type II (1024 samples) IEC61937_DTS3 = 0x0D, ///< DTS type III (2048 samples) - IEC61937_ATRAC = 0x0E, ///< Atrac data - IEC61937_ATRAC3 = 0x0F, ///< Atrac 3 data - IEC61937_ATRACX = 0x10, ///< Atrac 3 plus data + IEC61937_ATRAC = 0x0E, ///< ATRAC data + IEC61937_ATRAC3 = 0x0F, ///< ATRAC3 data + IEC61937_ATRACX = 0x10, ///< ATRAC3+ data IEC61937_DTSHD = 0x11, ///< DTS HD data IEC61937_WMAPRO = 0x12, ///< WMA 9 Professional data IEC61937_MPEG2_AAC_LSF_2048 = 0x13, ///< MPEG-2 AAC ADTS half-rate low sampling frequency @@ -55,3 +58,5 @@ static const uint16_t spdif_mpeg_pkt_offset[2][3] = { }; void ff_spdif_bswap_buf16(uint16_t *dst, const uint16_t *src, int w); + +#endif /* AVFORMAT_SPDIF_H */