chromium/third_party/ffmpeg/libavformat/flacdec.c

/*
 * Raw FLAC demuxer
 * Copyright (c) 2001 Fabrice Bellard
 *
 * 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
 */

#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/flac.h"
#include "avformat.h"
#include "demux.h"
#include "flac_picture.h"
#include "internal.h"
#include "rawdec.h"
#include "oggdec.h"
#include "replaygain.h"

#define SEEKPOINT_SIZE

FLACDecContext;

static void reset_index_position(int64_t metadata_head_size, AVStream *st)
{}

static const uint16_t sr_table[16] =;

static int flac_read_header(AVFormatContext *s)
{}

static int raw_flac_probe(const AVProbeData *p)
{}

static int flac_probe(const AVProbeData *p)
{}

static av_unused int64_t flac_read_timestamp(AVFormatContext *s, int stream_index,
                                             int64_t *ppos, int64_t pos_limit)
{}

static int flac_close(AVFormatContext *s)
{}

static int flac_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) {}

const FFInputFormat ff_flac_demuxer =;