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
262262 return tgt;
263263 }
264264
265−uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words,
266− unsigned &cc_count)
265+static uint8_t *vanc_to_cc(AVFormatContext *avctx, uint16_t *buf, size_t words,
266+ unsigned &cc_count)
267267 {
268268 size_t i, len = (buf[5] & 0xff) + 6 + 1;
269269 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
352352 return cc;
353353 }
354354
355−uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,
356− uint8_t *tgt, size_t tgt_size, AVPacket *pkt)
355+static uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,
356+ uint8_t *tgt, size_t tgt_size, AVPacket *pkt)
357357 {
358358 decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
359359 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