X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fnut.h;h=6357b3d2b16b8264633cfa3c8152b76145921331;hb=7ce3bd9614717e545af8fb8455032c807e389b78;hp=03d8c5a2fd8600b56a2d0f3192f53c0283866e35;hpb=8d9a3f7e21435ddf47635909c90f56f8c966397b;p=ffmpeg diff --git a/libavformat/nut.h b/libavformat/nut.h index 03d8c5a2fd8..6357b3d2b16 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -2,32 +2,29 @@ * "NUT" Container Format (de)muxer * Copyright (c) 2006 Michael Niedermayer * - * 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_NUT_H #define AVFORMAT_NUT_H -//#include #include "avformat.h" -#include "crc.h" -//#include "mpegaudio.h" -#include "riff.h" -//#include "adler32.h" +#include "internal.h" +#include "metadata.h" #define MAIN_STARTCODE (0x7A561F5F04ADULL + (((uint64_t)('N'<<8) + 'M')<<48)) #define STREAM_STARTCODE (0x11405BF2F9DBULL + (((uint64_t)('N'<<8) + 'S')<<48)) @@ -39,35 +36,40 @@ #define MAX_DISTANCE (1024*32-1) +#define NUT_VERSION 3 + typedef enum{ FLAG_KEY = 1, ///