From 8c1cfb28a55f1fe7c65962525312660af9fa833d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 26 Sep 2017 16:13:26 -0400 Subject: [PATCH] use c-style casts because they work --- src/zm_videostore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 28940eeca..208f64818 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -222,7 +222,7 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in, Debug(3, "Got AAC"); audio_out_stream = - avformat_new_stream(oc, reinterpret_cast(audio_in_ctx->codec)); + avformat_new_stream(oc, (const AVCodec *)(audio_in_ctx->codec)); if (!audio_out_stream) { Error("Unable to create audio out stream\n"); audio_out_stream = NULL;