Showing the changes to libavdevice/decklink_dec.cpp (1 of 1 file). Show all
Unified · Split
| @@ -262,8 +262,8 @@ static uint8_t* teletext_data_unit_from_ancillary_packet(uint16_t *py, uint16_t · 261 unmodified lines | |||
| 262 | return tgt; | 262 | return tgt; |
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words, | 265 | static uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words, |
| 266 | unsigned &cc_count) | 266 | unsigned &cc_count) |
| 267 | { | 267 | { |
| 268 | size_t i, len = (buf[5] & 0xff) + 6 + 1; | 268 | size_t i, len = (buf[5] & 0xff) + 6 + 1; |
| 269 | uint8_t cdp_sum, rate; | 269 | uint8_t cdp_sum, rate; |
| @@ -352,8 +352,8 @@ uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words, · 82 unmodified lines | |||
| 352 | return cc; | 352 | return cc; |
| 353 | } | 353 | } |
| 354 | 354 | ||
| 355 | uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width, | 355 | static uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width, |
| 356 | uint8_t *tgt, size_t tgt_size, AVPacket *pkt) | 356 | uint8_t *tgt, size_t tgt_size, AVPacket *pkt) |
| 357 | { | 357 | { |
| 358 | decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data; | 358 | decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data; |
| 359 | uint16_t *max_buf = buf + width; | 359 | uint16_t *max_buf = buf + width; |