summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 217c371dc6..a080dc9906 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1399,7 +1399,7 @@ static int av_encode(AVFormatContext **output_files,
int key;
int want_sdp = 1;
- file_table= (AVInputFile*) av_mallocz(nb_input_files * sizeof(AVInputFile));
+ file_table= av_mallocz(nb_input_files * sizeof(AVInputFile));
if (!file_table)
goto fail;