History

avdevice: use the buffer_size_t typedef where required

James Almer committed 5 years ago

Commit f7abb531 parent e07126f3 files · +4 −3Browse files

Showing the changes to libavdevice/decklink_dec.cpp (1 of 3 files). Show all

Unified · Split

libavdevice/decklink_dec.cpp+1−1
@@ -1437,7 +1437,7 @@ int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt) · 1436 unmodified lines
1437 avpacket_queue_get(&ctx->queue, pkt, 1);1437 avpacket_queue_get(&ctx->queue, pkt, 1);
1438 1438
1439 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) {1439 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) {
1440 int size;1440 buffer_size_t size;
1441 const uint8_t *side_metadata = av_packet_get_side_data(pkt, AV_PKT_DATA_STRINGS_METADATA, &size);1441 const uint8_t *side_metadata = av_packet_get_side_data(pkt, AV_PKT_DATA_STRINGS_METADATA, &size);
1442 if (side_metadata) {1442 if (side_metadata) {
1443 if (av_packet_unpack_dictionary(side_metadata, size, &ctx->video_st->metadata) < 0)1443 if (av_packet_unpack_dictionary(side_metadata, size, &ctx->video_st->metadata) < 0)

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