use c-style casts because they work
This commit is contained in:
parent
94fd113b63
commit
8c1cfb28a5
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue