diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 8bb274fa2..a9d6180c6 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -125,7 +125,7 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in, #else video_out_stream = - avformat_new_stream(oc, reinterpret_cast(video_in_ctx->codec)); + avformat_new_stream(oc, reinterpret_castvideo_in_ctx->codec); if (!video_out_stream) { Fatal("Unable to create video out stream\n"); } else {