diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-04-04 01:30:14 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-04-04 23:21:14 +0200 |
commit | 61dcaf5fb74d11209683da1a98aa324df54147ed (patch) | |
tree | d1532c9dea0dda220f4df4a3c70cea67dabbd327 /libavformat/webmdashenc.c | |
parent | e61767c40a978f0d1c41c848c134d537b5494cb3 (diff) | |
download | ffmpeg-61dcaf5fb74d11209683da1a98aa324df54147ed.tar.gz |
lavf, lavfi: Remove uses of sizeof(char).
The C standard requires sizeof(char) == 1.
Diffstat (limited to 'libavformat/webmdashenc.c')
-rw-r--r-- | libavformat/webmdashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c index d05b265330..7847659c63 100644 --- a/libavformat/webmdashenc.c +++ b/libavformat/webmdashenc.c @@ -439,7 +439,7 @@ static int write_adaptation_set(AVFormatContext *s, int as_index) static int to_integer(char *p, int len) { int ret; - char *q = av_malloc(sizeof(char) * len); + char *q = av_malloc(len); if (!q) return AVERROR(ENOMEM); av_strlcpy(q, p, len); |