History

avcodec/vulkan_encode_h264: use the proper printf specifier for size_t

James Almer committed 2 years ago

Commit a6151751 parent cb2f5cf1 file · +2 −1Browse files

Unified · Split

libavcodec/vulkan_encode_h264.c+2−1
@@ -16,6 +16,7 @@ · 15 unmodified lines
1616 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1717 */
1818
19+#include "libavutil/internal.h"
1920 #include "libavutil/opt.h"
2021 #include "libavutil/mem.h"
2122
@@ -1144,7 +1145,7 @@ static int init_base_units(AVCodecContext *avctx) · 1122 unmodified lines
11441145 if (!data)
11451146 return AVERROR(ENOMEM);
11461147 } else {
1147− av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.264 units = %lu\n", data_size);
1148+ av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.264 units = %"SIZE_SPECIFIER"\n", data_size);
11481149 return err;
11491150 }
11501151

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