mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avutil/fifo: delay addition of const from 78d3453c4a until next major ABI bump
This unbreaks API, for example audacity has more build errors due to this Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0fdc3cd86f
commit
acb6f3af4f
2 changed files with 4 additions and 4 deletions
|
|
@ -59,12 +59,12 @@ void av_fifo_reset(AVFifoBuffer *f)
|
|||
f->wndx = f->rndx = 0;
|
||||
}
|
||||
|
||||
int av_fifo_size(const AVFifoBuffer *f)
|
||||
int av_fifo_size(FF_CONST_AVUTIL53 AVFifoBuffer *f)
|
||||
{
|
||||
return (uint32_t)(f->wndx - f->rndx);
|
||||
}
|
||||
|
||||
int av_fifo_space(const AVFifoBuffer *f)
|
||||
int av_fifo_space(FF_CONST_AVUTIL53 AVFifoBuffer *f)
|
||||
{
|
||||
return f->end - f->buffer - av_fifo_size(f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue