annotate libmpcodecs/dec_audio.h @ 30363:915be5c7a30c

Make sure that a qstride of 0 (intentional or not) does not completely break the code (crash if malloc(0) != NULL, otherwise wrong qscales used for B-frames).
author reimar
date Sat, 23 Jan 2010 14:57:43 +0000
parents 9e739bdb049c
children bbb6ebec87a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_DEC_AUDIO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_DEC_AUDIO_H
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
3
26147
41652035483c Add necessary header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
4 #include "libmpdemux/stheader.h"
41652035483c Add necessary header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
5
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
6 // dec_audio.c:
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
7 void afm_help(void);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
8 int init_best_audio_codec(sh_audio_t *sh_audio, char** audio_codec_list, char** audio_fm_list);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
9 int decode_audio(sh_audio_t *sh_audio, int minlen);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
10 void resync_audio_stream(sh_audio_t *sh_audio);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
11 void skip_audio_frame(sh_audio_t *sh_audio);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
12 void uninit_audio(sh_audio_t *sh_audio);
7604
32efb806436e aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoder
arpi
parents: 7522
diff changeset
13
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
14 int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate,
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
15 int *out_samplerate, int *out_channels, int *out_format);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 24894
diff changeset
16
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
17 #endif /* MPLAYER_DEC_AUDIO_H */