History

avutil/buffer: Switch AVBuffer API to size_t

Announced in 14040a1d913794d9a3fd6406a6d8c2f0e37e0062.

Andreas Rheinhardt committed 5 years ago

Commit ef6a9e51 parent 985c0da66 files · +110 −206Browse files

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

Unified · Split

libavdevice/decklink_dec.cpp+2−2
@@ -936,7 +936,7 @@ HRESULT decklink_input_callback::VideoInputFrameArrived( · 935 unmodified lines
936936 }
937937
938938 if (av_dict_set(&metadata_dict, "timecode", tc, 0) >= 0) {
939− buffer_size_t metadata_len;
939+ size_t metadata_len;
940940 packed_metadata = av_packet_pack_dictionary(metadata_dict, &metadata_len);
941941 av_dict_free(&metadata_dict);
942942 if (packed_metadata) {
@@ -1435,7 +1435,7 @@ int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt) · 492 unmodified lines
14351435 avpacket_queue_get(&ctx->queue, pkt, 1);
14361436
14371437 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) {
1438− buffer_size_t size;
1438+ size_t size;
14391439 const uint8_t *side_metadata = av_packet_get_side_data(pkt, AV_PKT_DATA_STRINGS_METADATA, &size);
14401440 if (side_metadata) {
14411441 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