diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-11-04 00:34:18 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki@gmail.com> | 2013-11-04 00:47:00 +0100 |
commit | babf20a215ffdf2ecf323a77c95c2a4c4360b371 (patch) | |
tree | a32b2ac0d8593e057ea140fba409bbcae46c1e95 /libavdevice/pulse_audio_common.c | |
parent | 398844f09323a379866795ea27c69def021b1a4b (diff) | |
download | ffmpeg-babf20a215ffdf2ecf323a77c95c2a4c4360b371.tar.gz |
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.c')
-rw-r--r-- | libavdevice/pulse_audio_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavdevice/pulse_audio_common.c b/libavdevice/pulse_audio_common.c index bbc8c978d9..f7227f6549 100644 --- a/libavdevice/pulse_audio_common.c +++ b/libavdevice/pulse_audio_common.c @@ -19,11 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "libavutil/attributes.h" -#include "libavcodec/avcodec.h" #include "pulse_audio_common.h" +#include "libavutil/attributes.h" -pa_sample_format_t av_cold codec_id_to_pulse_format(int codec_id) +pa_sample_format_t av_cold ff_codec_id_to_pulse_format(enum AVCodecID codec_id) { switch (codec_id) { case AV_CODEC_ID_PCM_U8: return PA_SAMPLE_U8; |