X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fnut.h;h=6357b3d2b16b8264633cfa3c8152b76145921331;hb=6509012398435252979e149ea4a73438d2107600;hp=943914603585c3c2ce731ba120422f319a2e0c2a;hpb=3b4f69ae8ceac45dd815d26e17d83a7dda4c4057;p=ffmpeg diff --git a/libavformat/nut.h b/libavformat/nut.h index 94391460358..6357b3d2b16 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -2,31 +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 FFMPEG_NUT_H -#define FFMPEG_NUT_H +#ifndef AVFORMAT_NUT_H +#define AVFORMAT_NUT_H -//#include #include "avformat.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)) @@ -38,6 +36,8 @@ #define MAX_DISTANCE (1024*32-1) +#define NUT_VERSION 3 + typedef enum{ FLAG_KEY = 1, ///