aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/ccfifo.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-05-12 22:33:16 -0300
committerJames Almer <jamrial@gmail.com>2023-05-12 22:33:16 -0300
commit8564b4ab057346cca142b69676116bcb74842161 (patch)
treea8fcacafa382651daf3a82aa024eead7d6c66feb /libavfilter/ccfifo.h
parente65f03ca1349b3e05ab6b7ab26e3f9a35933ea38 (diff)
downloadffmpeg-8564b4ab057346cca142b69676116bcb74842161.tar.gz
avfilter/ccfifo: constify some parameters
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/ccfifo.h')
-rw-r--r--libavfilter/ccfifo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/ccfifo.h b/libavfilter/ccfifo.h
index a380f67b52..a3c302b6b2 100644
--- a/libavfilter/ccfifo.h
+++ b/libavfilter/ccfifo.h
@@ -88,7 +88,7 @@ int ff_ccfifo_extractbytes(CCFifo *ccf, uint8_t *data, size_t len);
* an appropriately sized buffer and pass it to ff_ccfifo_injectbytes()
*
*/
-int ff_ccfifo_getoutputsize(CCFifo *ccf);
+int ff_ccfifo_getoutputsize(const CCFifo *ccf);
/**
* Insert CC data from the FIFO into an AVFrame (as side data)
@@ -113,6 +113,6 @@ int ff_ccfifo_injectbytes(CCFifo *ccf, uint8_t *data, size_t len);
* Returns 1 if captions have been found as a prior call
* to ff_ccfifo_extract() or ff_ccfifo_extractbytes()
*/
-int ff_ccfifo_ccdetected(CCFifo *ccf);
+int ff_ccfifo_ccdetected(const CCFifo *ccf);
#endif /* AVFILTER_CCFIFO_H */