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_dec.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_dec.c')
-rw-r--r-- | libavdevice/pulse_audio_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/pulse_audio_dec.c b/libavdevice/pulse_audio_dec.c index 9cfc1447e0..639b381c34 100644 --- a/libavdevice/pulse_audio_dec.c +++ b/libavdevice/pulse_audio_dec.c @@ -57,7 +57,7 @@ static av_cold int pulse_read_header(AVFormatContext *s) int ret; enum AVCodecID codec_id = s->audio_codec_id == AV_CODEC_ID_NONE ? DEFAULT_CODEC_ID : s->audio_codec_id; - const pa_sample_spec ss = { codec_id_to_pulse_format(codec_id), + const pa_sample_spec ss = { ff_codec_id_to_pulse_format(codec_id), pd->sample_rate, pd->channels }; |