Mercurial > mplayer.hg
annotate libmpcodecs/vd_internal.h @ 23035:e8afcfccf359
Always deallocate glyphs. Fixes a memory leak.
author | eugeni |
---|---|
date | Sat, 21 Apr 2007 10:56:28 +0000 |
parents | ed8f90096c65 |
children | 6ac1ece1f9fe |
rev | line source |
---|---|
4986 | 1 |
2 #include "codec-cfg.h" | |
5607 | 3 #include "img_format.h" |
4986 | 4 |
22599
4faee1254928
Add explicit location for headers from the stream/ directory.
diego
parents:
5607
diff
changeset
|
5 #include "stream/stream.h" |
22601
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
6 #include "libmpdemux/demuxer.h" |
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
7 #include "libmpdemux/stheader.h" |
4986 | 8 |
9 #include "vd.h" | |
4878 | 10 |
5003 | 11 extern int divx_quality; |
12 | |
4878 | 13 // prototypes: |
4966 | 14 //static vd_info_t info; |
4878 | 15 static int control(sh_video_t *sh,int cmd,void* arg,...); |
16 static int init(sh_video_t *sh); | |
17 static void uninit(sh_video_t *sh); | |
18 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); | |
19 | |
20 #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ | |
21 &info,\ | |
22 init,\ | |
23 uninit,\ | |
24 control,\ | |
25 decode\ | |
26 }; | |
27 |