stream: pa_stream_get_format_info: constify

This commit is contained in:
Lyndon Brown 2018-05-28 00:03:14 +01:00 committed by Arun Raghavan
parent c16b842ac0
commit 6f2a70191d
2 changed files with 2 additions and 2 deletions

View file

@ -2570,7 +2570,7 @@ const pa_channel_map* pa_stream_get_channel_map(pa_stream *s) {
return &s->channel_map;
}
const pa_format_info* pa_stream_get_format_info(pa_stream *s) {
const pa_format_info* pa_stream_get_format_info(const pa_stream *s) {
pa_assert(s);
pa_assert(PA_REFCNT_VALUE(s) >= 1);