Mercurial > mplayer.hg
annotate libmpcodecs/vd_internal.h @ 24884:17c6e0a372f4
Simplify audio buffer allocation logic
Remove code that set sh_audio->a_out_buffer to equal
sh_audio->a_buffer between the calls to init_best_audio_codec and
init_audio_filters. Nothing uses the buffer between those calls.
author | uau |
---|---|
date | Thu, 01 Nov 2007 06:51:44 +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 |