avdevice/decklink_dec: make some function static

Reviewed-by: Aaron Levinson <alevinsn_dev@levland.net>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-11-09 00:18:32 -03:00
parent dfa859b85a
commit bf7ae32a08
1 changed files with 4 additions and 4 deletions

View File

@ -262,7 +262,7 @@ static uint8_t* teletext_data_unit_from_ancillary_packet(uint16_t *py, uint16_t
return tgt; return tgt;
} }
uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words, static uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words,
unsigned &cc_count) unsigned &cc_count)
{ {
size_t i, len = (buf[5] & 0xff) + 6 + 1; size_t i, len = (buf[5] & 0xff) + 6 + 1;
@ -352,7 +352,7 @@ uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words,
return cc; return cc;
} }
uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width, static uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,
uint8_t *tgt, size_t tgt_size, AVPacket *pkt) uint8_t *tgt, size_t tgt_size, AVPacket *pkt)
{ {
decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data; decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;