From 4ca31edcfe1ac6b8d48353436fefd1549161cd83 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Mon, 30 Aug 2010 23:16:35 +0000 Subject: split raw.c into rawdec.c and rawenc.c Originally committed as revision 24997 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rawdec.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 libavformat/rawdec.h (limited to 'libavformat/rawdec.h') diff --git a/libavformat/rawdec.h b/libavformat/rawdec.h new file mode 100644 index 0000000000..0b0cf1beef --- /dev/null +++ b/libavformat/rawdec.h @@ -0,0 +1,35 @@ +/* + * RAW demuxers + * Copyright (C) 2007 Aurelien Jacobs + * + * This file is part of FFmpeg. + * + * FFmpeg 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, + * 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 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVFORMAT_RAWDEC_H +#define AVFORMAT_RAWDEC_H + +#include "avformat.h" + +int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap); + +int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt); + +int ff_raw_audio_read_header(AVFormatContext *s, AVFormatParameters *ap); + +int ff_raw_video_read_header(AVFormatContext *s, AVFormatParameters *ap); + +#endif /* AVFORMAT_RAWDEC_H */ -- cgit v1.2.3