Signed-off-by: Stephan Holljes <klaxa1...@googlemail.com> --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffserver.c b/ffserver.c index fd8cadd..8a24397 100644 --- a/ffserver.c +++ b/ffserver.c @@ -222,7 +222,7 @@ void write_segment(struct Client *c) return; } - avio_buffer = (unsigned char*) av_malloc(AV_BUFSIZE); + avio_buffer = av_malloc(AV_BUFSIZE); if (!avio_buffer) { av_log(fmt_ctx, AV_LOG_ERROR, "Could not allocate avio_buffer\n"); avformat_free_context(fmt_ctx); -- 2.16.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel