annotate voc.h @ 1340:79f90a950fe1 libavformat

add string param to PRINT_KEY for debug
author bcoudurier
date Fri, 29 Sep 2006 11:25:40 +0000
parents a887adfe9dc5
children 0899bfe4105c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
937
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
1 /*
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
2 * Creative Voice File demuxer.
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
3 * Copyright (c) 2006 Aurelien Jacobs <aurel@gnuage.org>
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
4 *
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
5 * This library is free software; you can redistribute it and/or
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
6 * modify it under the terms of the GNU Lesser General Public
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
7 * License as published by the Free Software Foundation; either
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
8 * version 2 of the License, or (at your option) any later version.
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
9 *
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
10 * This library is distributed in the hope that it will be useful,
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
13 * Lesser General Public License for more details.
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
14 *
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
16 * License along with this library; if not, write to the Free Software
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
18 */
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
19
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
20 #ifndef VOC_H
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
21 #define VOC_H
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
22
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
23 #include "avformat.h"
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
24
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
25 typedef struct voc_dec_context {
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
26 int remaining_size;
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
27 } voc_dec_context_t;
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
28
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
29 int voc_get_packet(AVFormatContext *s, AVPacket *pkt,
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
30 AVStream *st, int max_size);
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
31
a887adfe9dc5 add a Creative VOC (de)muxer
aurel
parents:
diff changeset
32 #endif