You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavu: remove disabled FF_API_AV_FIFO_PEEK cruft
This commit is contained in:
@@ -128,15 +128,4 @@ static inline uint8_t *av_fifo_peek2(const AVFifoBuffer *f, int offs)
|
|||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FF_API_AV_FIFO_PEEK
|
|
||||||
/**
|
|
||||||
* @deprecated Use av_fifo_peek2() instead.
|
|
||||||
*/
|
|
||||||
attribute_deprecated
|
|
||||||
static inline uint8_t av_fifo_peek(AVFifoBuffer *f, int offs)
|
|
||||||
{
|
|
||||||
return *av_fifo_peek2(f, offs);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* AVUTIL_FIFO_H */
|
#endif /* AVUTIL_FIFO_H */
|
||||||
|
@@ -61,9 +61,6 @@
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FF_API_AV_FIFO_PEEK
|
|
||||||
#define FF_API_AV_FIFO_PEEK (LIBAVUTIL_VERSION_MAJOR < 52)
|
|
||||||
#endif
|
|
||||||
#ifndef FF_API_PIX_FMT
|
#ifndef FF_API_PIX_FMT
|
||||||
#define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 53)
|
#define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 53)
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user