use c-style casts because they work

This commit is contained in:
Isaac Connor 2017-09-26 16:13:26 -04:00
parent 94fd113b63
commit 8c1cfb28a5
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in,
Debug(3, "Got AAC"); Debug(3, "Got AAC");
audio_out_stream = audio_out_stream =
avformat_new_stream(oc, reinterpret_cast<const AVCodec *>(audio_in_ctx->codec)); avformat_new_stream(oc, (const AVCodec *)(audio_in_ctx->codec));
if (!audio_out_stream) { if (!audio_out_stream) {
Error("Unable to create audio out stream\n"); Error("Unable to create audio out stream\n");
audio_out_stream = NULL; audio_out_stream = NULL;