Signed-off-by: Stephan Holljes <klaxa1...@googlemail.com> --- segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/segment.c b/segment.c index 2dba287..8b76510 100644 --- a/segment.c +++ b/segment.c @@ -113,7 +113,7 @@ void segment_init(struct Segment **seg_p, AVFormatContext *fmt) int ret; int i; AVStream *in_stream, *out_stream; - struct Segment *seg = (struct Segment*) av_malloc(sizeof(struct Segment)); + struct Segment *seg = av_malloc(sizeof(struct Segment)); if (!seg) { av_log(fmt, AV_LOG_ERROR, "Could not allocate segment.\n"); *seg_p = NULL; -- 2.18.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel