Unified · Split
| @@ -89,12 +89,12 @@ error: · 88 unmodified lines | ||
| 89 | 89 | return AVERROR(ENOMEM); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | −int ff_ccfifo_getoutputsize(CCFifo *ccf) | |
| 92 | +int ff_ccfifo_getoutputsize(const CCFifo *ccf) | |
| 93 | 93 | { |
| 94 | 94 | return ccf->expected_cc_count * CC_BYTES_PER_ENTRY; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | −int ff_ccfifo_ccdetected(CCFifo *ccf) | |
| 97 | +int ff_ccfifo_ccdetected(const CCFifo *ccf) | |
| 98 | 98 | { |
| 99 | 99 | return ccf->cc_detected; |
| 100 | 100 | } |
| @@ -88,7 +88,7 @@ int ff_ccfifo_extractbytes(CCFifo *ccf, uint8_t *data, size_t len); · 87 unmodified lines | ||
| 88 | 88 | * an appropriately sized buffer and pass it to ff_ccfifo_injectbytes() |
| 89 | 89 | * |
| 90 | 90 | */ |
| 91 | −int ff_ccfifo_getoutputsize(CCFifo *ccf); | |
| 91 | +int ff_ccfifo_getoutputsize(const CCFifo *ccf); | |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | 94 | * 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); · 18 unmodified lines | ||
| 113 | 113 | * Returns 1 if captions have been found as a prior call |
| 114 | 114 | * to ff_ccfifo_extract() or ff_ccfifo_extractbytes() |
| 115 | 115 | */ |
| 116 | −int ff_ccfifo_ccdetected(CCFifo *ccf); | |
| 116 | +int ff_ccfifo_ccdetected(const CCFifo *ccf); | |
| 117 | 117 | |
| 118 | 118 | #endif /* AVFILTER_CCFIFO_H */ |