History

avdevice/decklink_dec: make some function static

James Almer committed 9 years ago

Commit bf7ae321 parent dfa859b1 file · +4 −4Browse files

Unified · Split

libavdevice/decklink_dec.cpp+4−4
@@ -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
265uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words,265static 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
355uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,355static 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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t