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

Unified · Split

libavformat/hevc.c+4−4
@@ -848,15 +848,15 @@ static int hvcc_write(AVIOContext *pb, HEVCDecoderConfigurationRecord *hvcc) · 847 unmodified lines
848 if (array->numNalus == 0)848 if (array->numNalus == 0)
849 continue;849 continue;
850 850
851 av_log(NULL, AV_LOG_TRACE, "array_completeness[%"PRIu8"]: %"PRIu8"\n",851 av_log(NULL, AV_LOG_TRACE, "array_completeness[%u]: %"PRIu8"\n",
852 j, array->array_completeness);852 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",
854 j, array->NAL_unit_type);854 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",
856 j, array->numNalus);856 j, array->numNalus);
857 for (unsigned k = 0; k < array->numNalus; k++)857 for (unsigned k = 0; k < array->numNalus; k++)
858 av_log(NULL, AV_LOG_TRACE,858 av_log(NULL, AV_LOG_TRACE,
859 "nalUnitLength[%"PRIu8"][%"PRIu16"]: %"PRIu16"\n",859 "nalUnitLength[%u][%u]: %"PRIu16"\n",
860 j, k, array->nalUnitLength[k]);860 j, k, array->nalUnitLength[k]);
861 j++;861 j++;
862 }862 }

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