view voc.h @ 1455:e0e7ac1b8601 libavformat

Ensure codec_id = CODEC_ID_NONE for unknown codecs (don't reuse previous one). Patch by Steve Lhomme % slhomme A divxcorp P com % Original thread: Date: Mon, 06 Nov 2006 21:20:14 +0100 Subject: [Ffmpeg-devel] [PATCH] Matroska known/unknown codec
author aurel
date Mon, 06 Nov 2006 23:14:37 +0000
parents 0899bfe4105c
children a3fbb2b1fccf
line wrap: on
line source

/*
 * Creative Voice File demuxer.
 * Copyright (c) 2006  Aurelien Jacobs <aurel@gnuage.org>
 *
 * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef VOC_H
#define VOC_H

#include "avformat.h"

typedef struct voc_dec_context {
    int remaining_size;
} voc_dec_context_t;

int voc_get_packet(AVFormatContext *s, AVPacket *pkt,
                   AVStream *st, int max_size);

#endif