Mercurial > mplayer.hg
annotate tremor/registry.h @ 34929:c410ef9752a0
Initialize a few more AVFrame fields to avoid FFmpeg errors.
However this really needs to be done via FFmpeg somehow to avoid
issues each time new fields are added, either by exposing
ff_init_buffer_info as public API or by calling get_buffer etc.
through wrappers that take care of the initialization.
author | reimar |
---|---|
date | Sat, 14 Jul 2012 11:37:22 +0000 |
parents | cd6b211be811 |
children |
rev | line source |
---|---|
14280 | 1 /******************************************************************** |
2 * * | |
3 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * | |
4 * * | |
19251
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
5 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
6 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
7 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
8 * * |
14280 | 9 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * |
10 * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * | |
11 * * | |
12 ******************************************************************** | |
13 | |
14 function: registry for time, floor, res backends and channel mappings | |
15 | |
16 ********************************************************************/ | |
17 | |
18 #ifndef _V_REG_H_ | |
19 #define _V_REG_H_ | |
20 | |
21 #define VI_TRANSFORMB 1 | |
22 #define VI_WINDOWB 1 | |
23 #define VI_TIMEB 1 | |
24 #define VI_FLOORB 2 | |
25 #define VI_RESB 3 | |
26 #define VI_MAPB 1 | |
27 | |
28 #include "backends.h" | |
29 | |
30 #if defined(_WIN32) && defined(VORBISDLL_IMPORT) | |
31 # define EXTERN __declspec(dllimport) extern | |
32 #else | |
33 # define EXTERN extern | |
34 #endif | |
35 | |
36 EXTERN vorbis_func_floor *_floor_P[]; | |
37 EXTERN vorbis_func_residue *_residue_P[]; | |
38 EXTERN vorbis_func_mapping *_mapping_P[]; | |
39 | |
40 #endif |