diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-11-04 03:34:18 +0400 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-11-04 03:47:00 +0400 |
commit | babf20a215ffdf2ecf323a77c95c2a4c4360b371 (patch) | |
tree | a32b2ac0d8593e057ea140fba409bbcae46c1e95 /libavdevice/pulse_audio_common.h | |
parent | 398844f09323a379866795ea27c69def021b1a4b (diff) |
lavd/pulse: add ff_ prefix and fix param type
Add ff_ prefix for internal API function.
Change type of param from int into enum AVCodecID as it is more specific.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Diffstat (limited to 'libavdevice/pulse_audio_common.h')
-rw-r--r-- | libavdevice/pulse_audio_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/pulse_audio_common.h b/libavdevice/pulse_audio_common.h index e4409ba18b..99ba6a31f1 100644 --- a/libavdevice/pulse_audio_common.h +++ b/libavdevice/pulse_audio_common.h @@ -23,7 +23,8 @@ #define AVDEVICE_PULSE_AUDIO_COMMON_H #include <pulse/simple.h> +#include "libavcodec/avcodec.h" -pa_sample_format_t codec_id_to_pulse_format(int codec_id); +pa_sample_format_t ff_codec_id_to_pulse_format(enum AVCodecID codec_id); #endif /* AVDEVICE_PULSE_AUDIO_COMMON_H */ |