History

lavf/hevc: Fix type specifiers, missed in 8b5d1553

Fixes several warnings with msvc: warning: format specifies type 'unsigned char' but the argument has type 'unsigned int'

Carl Eugen Hoyos committed 4 years ago

Commit fc410ce1 parent 65f96a91 file · +4 −4Browse files

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/hevc.c+4−4
@@ -848,15 +848,15 @@ static int hvcc_write(AVIOContext *pb, HEVCDecoderConfigurationRecord *hvcc) · 847 unmodified lines
848848 if (array->numNalus == 0)
849849 continue;
850850
851− av_log(NULL, AV_LOG_TRACE, "array_completeness[%"PRIu8"]: %"PRIu8"\n",
851+ av_log(NULL, AV_LOG_TRACE, "array_completeness[%u]: %"PRIu8"\n",
852852 j, array->array_completeness);
853− av_log(NULL, AV_LOG_TRACE, "NAL_unit_type[%"PRIu8"]: %"PRIu8"\n",
853+ av_log(NULL, AV_LOG_TRACE, "NAL_unit_type[%u]: %"PRIu8"\n",
854854 j, array->NAL_unit_type);
855− av_log(NULL, AV_LOG_TRACE, "numNalus[%"PRIu8"]: %"PRIu16"\n",
855+ av_log(NULL, AV_LOG_TRACE, "numNalus[%u]: %"PRIu16"\n",
856856 j, array->numNalus);
857857 for (unsigned k = 0; k < array->numNalus; k++)
858858 av_log(NULL, AV_LOG_TRACE,
859− "nalUnitLength[%"PRIu8"][%"PRIu16"]: %"PRIu16"\n",
859+ "nalUnitLength[%u][%u]: %"PRIu16"\n",
860860 j, k, array->nalUnitLength[k]);
861861 j++;
862862 }

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