| 844 | } |
| 845 | |
| 846 | static int decklink_write_subtitle_packet(AVFormatContext *avctx, AVPacket *pkt) |
| 847 | { |
| 848 | struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data; |
| 849 | struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx; |
| 850 | |
| 851 | ff_ccfifo_extractbytes(&ctx->cc_fifo, pkt->data, pkt->size); |
| 852 | |
| 853 | return 0; |
| 854 | } |
| 855 | |
| 856 | static int decklink_write_data_packet(AVFormatContext *avctx, AVPacket *pkt) |
| 857 | { |
no test coverage detected